commercial_invoice: update to not annihilate header on account move list view
This commit is contained in:
parent
36e62be4c1
commit
6ea64007e0
2 changed files with 5 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
'name': 'Commercial Invoice',
|
'name': 'Commercial Invoice',
|
||||||
'version': '1.0',
|
'version': '18.0.1.1.1',
|
||||||
'category': 'Accounting',
|
'category': 'Accounting',
|
||||||
'summary': 'Generate commercial invoices for cross-border shipments',
|
'summary': 'Generate commercial invoices for cross-border shipments',
|
||||||
'description': """
|
'description': """
|
||||||
|
|
|
||||||
|
|
@ -5,12 +5,10 @@
|
||||||
<field name="model">account.move</field>
|
<field name="model">account.move</field>
|
||||||
<field name="inherit_id" ref="account.view_out_invoice_tree"/>
|
<field name="inherit_id" ref="account.view_out_invoice_tree"/>
|
||||||
<field name="arch" type="xml">
|
<field name="arch" type="xml">
|
||||||
<xpath expr="//list" position="inside">
|
<xpath expr="//list/header" position="inside">
|
||||||
<header>
|
<button name="action_create_commercial_invoice"
|
||||||
<button name="action_create_commercial_invoice"
|
type="object"
|
||||||
type="object"
|
string="Create Commercial Invoice"/>
|
||||||
string="Create Commercial Invoice"/>
|
|
||||||
</header>
|
|
||||||
</xpath>
|
</xpath>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue