From: Ludovic CHEVALIER Date: Wed, 27 May 2015 09:52:05 +0000 (+0200) Subject: [VIEW] ~account_analytic field is mandatory and filter in account invoice form X-Git-Url: http://git.cyclocoop.org/?p=burette%2Faccount_analytic_improvement.git;a=commitdiff_plain;h=35e291341cf1d44a81de2b7f8c959d45d37272ef [VIEW] ~account_analytic field is mandatory and filter in account invoice form --- diff --git a/__openerp__.py b/__openerp__.py index f7d782c..28f0e31 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -34,18 +34,21 @@ Account analytic module improvement It installs the profile for bike co-ops to manage some features like: * Analytic account is mandatory, and is filter (normal, with code and open only) in: - * expense form view + * expense form view; + * account invoice form view. * ... """, 'website': 'http://www.heureux-cyclage.org', 'images': [], 'depends': [ + 'account', 'analytic', 'hr_expense', ], 'init_xml': [ ], 'update_xml': [ + 'view/account_invoice_view.xml', 'view/hr_expense.xml', ], 'installable': True, diff --git a/view/account_invoice_view.xml b/view/account_invoice_view.xml new file mode 100644 index 0000000..04acc9b --- /dev/null +++ b/view/account_invoice_view.xml @@ -0,0 +1,18 @@ + + + + + account.invoice.form + account.invoice + + + + 1 + + + + + + + +