Browse Source
Merge pull request #121 from beescoop/9.0-account-invoice-view
[ADD] beesdoo_custom: provider_reference on invoice_supplier_tree
pull/116/head
Robin Keunen
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
18 additions and
0 deletions
-
beesdoo_custom/__openerp__.py
-
beesdoo_custom/views/account_invoice.xml
|
@ -25,5 +25,6 @@ |
|
|
# always loaded |
|
|
# always loaded |
|
|
'data': [ |
|
|
'data': [ |
|
|
'views/beesdoo_product.xml', |
|
|
'views/beesdoo_product.xml', |
|
|
|
|
|
'views/account_invoice.xml', |
|
|
], |
|
|
], |
|
|
} |
|
|
} |
|
@ -0,0 +1,17 @@ |
|
|
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
|
|
<!-- |
|
|
|
|
|
Copyright 2019 Coop IT Easy |
|
|
|
|
|
License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). |
|
|
|
|
|
--> |
|
|
|
|
|
<odoo> |
|
|
|
|
|
<record id="invoice_supplier_tree" model="ir.ui.view"> |
|
|
|
|
|
<field name="name">invoice_supplier_tree</field> |
|
|
|
|
|
<field name="model">account.invoice</field> |
|
|
|
|
|
<field name="inherit_id" ref="account.invoice_supplier_tree"/> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<field name="reference" position="after"> |
|
|
|
|
|
<field name="provider_reference"/> |
|
|
|
|
|
</field> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
</odoo> |