Steps to Print multiple qweb reports on single print button based on condition.

Steps to Print multiple qweb reports on single print button based on condition.

Let’s say we want to print quotation reports based on service type dropdown on single print button: i)Manufacturing Service(includes entire manufacturing process cost) ii)Labour Service(includes only labour cost)   Steps to follow: 1.create service type selection field in sale order class.   service_type = fields.Selection([(‘manufacturing_service’, ‘ManuFacturing Service’), (‘labour_service’, ‘Labour Service’)], string=’Service Type’, required=True)   If user selects service type as ManuFacturing Service print button will […]

Read More