Browse Source
Merge pull request #109 from beescoop/12.0-mig-beesdoo_account
[MIG] beesdoo_account: migrate to 12.0
pull/130/head
Rémy Taymans
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with
43 additions and
0 deletions
-
beesdoo_account/__init__.py
-
beesdoo_account/__openerp__.py
-
beesdoo_account/views/account_invoice.xml
|
@ -0,0 +1,16 @@ |
|
|
|
|
|
{ |
|
|
|
|
|
"name": "Beescoop Account Module", |
|
|
|
|
|
"summary": """ |
|
|
|
|
|
Module that customize account module for Beescoop |
|
|
|
|
|
""", |
|
|
|
|
|
"description": """ |
|
|
|
|
|
Makes date_invoice field required in account.invoice_form and |
|
|
|
|
|
account.invoice_supplier_form |
|
|
|
|
|
""", |
|
|
|
|
|
"author": "Beescoop - Cellule IT", |
|
|
|
|
|
"website": "https://github.com/beescoop/Obeesdoo", |
|
|
|
|
|
"category": "Account Module", |
|
|
|
|
|
"version": "12.0.1.0.0", |
|
|
|
|
|
"depends": ["account", "beesdoo_base"], |
|
|
|
|
|
"data": ["views/account_invoice.xml"], |
|
|
|
|
|
} |
|
@ -0,0 +1,27 @@ |
|
|
|
|
|
<odoo> |
|
|
|
|
|
<data> |
|
|
|
|
|
<record model="ir.ui.view" id="beesdoo_account_invoice_form_view"> |
|
|
|
|
|
<field name="name">beesdoo.account.invoice.form.view</field> |
|
|
|
|
|
<field name="model">account.invoice</field> |
|
|
|
|
|
<field name="inherit_id" ref="account.invoice_form" /> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<field name="date_invoice" position="attributes"> |
|
|
|
|
|
<attribute name="required">True</attribute> |
|
|
|
|
|
</field> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
</data> |
|
|
|
|
|
|
|
|
|
|
|
<data> |
|
|
|
|
|
<record model="ir.ui.view" id="beesdoo_account_invoice_supplier_form_view"> |
|
|
|
|
|
<field name="name">beesdoo.account.invoice.supplier.form.view</field> |
|
|
|
|
|
<field name="model">account.invoice</field> |
|
|
|
|
|
<field name="inherit_id" ref="account.invoice_supplier_form" /> |
|
|
|
|
|
<field name="arch" type="xml"> |
|
|
|
|
|
<field name="date_invoice" position="attributes"> |
|
|
|
|
|
<attribute name="required">True</attribute> |
|
|
|
|
|
</field> |
|
|
|
|
|
</field> |
|
|
|
|
|
</record> |
|
|
|
|
|
</data> |
|
|
|
|
|
</odoo> |