Browse another model in openerp depending upon the active-ids
问题 I am creating "delivery slip" report, and I have to check the type of sale which is direct or in indirect, so order_type is in "sale.order" model, so I need to browse the order_type with the help of sale number from openerp.report import report_sxw class ps_report(report_sxw.rml_parse): name_type = '' name_type1 = '' v_name = '' v_model = '' v_year = '' picking = '' def __init__(self, cr, uid, name, context=None): super(ps_report, self).__init__(cr, uid, name, context=context) do_type = self