* Improved report_sxw.py to use other model then active one
bzr revid: fabian@tinyerp.com-
20081211174628-m6dr3wdal9ntrpff
<rng:ref name="field"/>
<rng:ref name="separator"/>
<rng:ref name="tree"/>
+ <rng:ref name="button"/>
<rng:ref name="group"/>
<rng:element name="newline"><rng:empty/></rng:element>
</rng:choice>
attach = report_xml.attachment
rml = report_xml.report_rml_content
report_type = report_xml.report_type
+ context['actual_model']=report_xml.actual_model
else:
ir_menu_report_obj = pool.get('ir.ui.menu')
report_menu_ids = ir_menu_report_obj.search(cr, uid,