(self, cr, uid, ids, context=None)
return self.pool['report'].get_action(cr, uid, ids, 'sale.report_saleorder', context=context)
This function prints the sales order and mark it as sent, so that we can see more easily the next step of the workflow
This function prints the sales order and mark it as sent, so that we can see more easily the next step of the workflow
This function prints the sales order and mark it as sent so that we can see more easily the next step of the workflow
def print_quotation(self, cr, uid, ids, context=None):
        '''
        This function prints the sales order and mark it as sent, so that we can see more easily the next step of the workflow
        '''
        assert len(ids) == 1, 'This option should only be used for a single id at a time'
        self.signal_workflow(cr, uid, ids, 'quotation_sent')
        return self.pool['report'].get_action(cr, uid, ids, 'sale.report_saleorder', context=context)
def print_quotation ( self , cr , uid , ids , context = None ) : assert len ( ids ) == 1 , 'This option should only be used for a single id at a time' self . signal_workflow ( cr , uid , ids , 'quotation_sent' ) return self . pool [ 'report' ] . get_action ( cr , uid , ids , 'sale.report_saleorder' , context = context )