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',
|
||||
'version': '1.0',
|
||||
'version': '18.0.1.1.1',
|
||||
'category': 'Accounting',
|
||||
'summary': 'Generate commercial invoices for cross-border shipments',
|
||||
'description': """
|
||||
|
|
|
|||
|
|
@ -5,12 +5,10 @@
|
|||
<field name="model">account.move</field>
|
||||
<field name="inherit_id" ref="account.view_out_invoice_tree"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//list" position="inside">
|
||||
<header>
|
||||
<button name="action_create_commercial_invoice"
|
||||
type="object"
|
||||
string="Create Commercial Invoice"/>
|
||||
</header>
|
||||
<xpath expr="//list/header" position="inside">
|
||||
<button name="action_create_commercial_invoice"
|
||||
type="object"
|
||||
string="Create Commercial Invoice"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
|
|
|||
Loading…
Reference in a new issue