Browse Source

[FIX] View inheritance may not use attribute 'string' as a selector.

pull/80/head
Laurent Mignon 8 years ago
parent
commit
4318e41acd
  1. 2
      report_py3o/views/ir_report.xml

2
report_py3o/views/ir_report.xml

@ -9,7 +9,7 @@
<field name="inherit_id" ref="base.act_report_xml_view" /> <field name="inherit_id" ref="base.act_report_xml_view" />
<field name="arch" type="xml"> <field name="arch" type="xml">
<xpath expr="//page[@string='Security']" position="before">
<xpath expr="//page[@name='security']" position="before">
<page string="LibreOffice template" <page string="LibreOffice template"
attrs="{'invisible': [('report_type', '!=', 'py3o')]}"> attrs="{'invisible': [('report_type', '!=', 'py3o')]}">

Loading…
Cancel
Save