* Added relaxng rule for button in tree view
* Improved report_sxw.py to use other model then active one bzr revid: fabian@tinyerp.com-20081211174628-m6dr3wdal9ntrpff
This commit is contained in:
@@ -41,6 +41,7 @@
|
||||
<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>
|
||||
|
||||
@@ -610,6 +610,7 @@ class report_sxw(report_rml):
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user