Browse Source

[MIG] migration to v9

pull/438/head
Damien Crier 9 years ago
parent
commit
9340a59d4b
  1. 4
      base_report_auto_create_qweb/__openerp__.py
  2. 5
      base_report_auto_create_qweb/views/report_xml_view.xml

4
base_report_auto_create_qweb/__openerp__.py

@ -18,7 +18,7 @@
{
"name": "Report qweb auto generation",
"version": "8.0.1.0.0",
"version": "9.0.1.0.0",
"depends": [
"report",
],
@ -43,5 +43,5 @@
"wizard/report_duplicate_view.xml",
"views/report_xml_view.xml",
],
'installable': False,
'installable': True,
}

5
base_report_auto_create_qweb/views/report_xml_view.xml

@ -7,17 +7,16 @@
<field name="priority" eval="5" />
<field name="inherit_id" ref="report.act_report_xml_view_inherit" />
<field name="arch" type="xml">
<xpath expr="//form/group" position="before">
<header>
<xpath expr="//button[@name='unlink_action']" position="after">
<button name="%(ir_actions_report_xml_duplicate_action)d"
string="Duplicate Report" class="oe_highlight" type="action"/>
</header>
</xpath>
<button name="associated_view" position="after">
<button type="object" class="oe_link" name="button_create_qweb"
string="Create QWeb view" colspan="2"
attrs="{'invisible':[('report_type', 'not in', ['qweb-pdf', 'qweb-html'])]}" />
</button>
</field>
</record>
</data>

Loading…
Cancel
Save