From e6528058d94758daa528cb92008889400466b31a Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Fri, 8 Apr 2016 10:09:59 +0200 Subject: [PATCH] [VIEW] +analytic account is required in supplier invoice --- __openerp__.py | 2 +- view/{account_invoice_view.xml => account.xml} | 10 ++++++++++ view/purchase.xml | 1 - 3 files changed, 11 insertions(+), 2 deletions(-) rename view/{account_invoice_view.xml => account.xml} (63%) diff --git a/__openerp__.py b/__openerp__.py index fe1bd4d..3982ab5 100644 --- a/__openerp__.py +++ b/__openerp__.py @@ -48,7 +48,7 @@ It installs the profile for bike co-ops to manage some features like: 'init_xml': [ ], 'update_xml': [ - 'view/account_invoice_view.xml', + 'view/account.xml', 'view/hr_expense.xml', 'view/purchase.xml', 'view/sale.xml', diff --git a/view/account_invoice_view.xml b/view/account.xml similarity index 63% rename from view/account_invoice_view.xml rename to view/account.xml index 04acc9b..c9d2900 100644 --- a/view/account_invoice_view.xml +++ b/view/account.xml @@ -14,5 +14,15 @@ + + account.invoice.form + account.invoice + + + + 1 + + + diff --git a/view/purchase.xml b/view/purchase.xml index c2371b7..c1bca0f 100644 --- a/view/purchase.xml +++ b/view/purchase.xml @@ -5,7 +5,6 @@ purchase.order.form purchase.order - 1 -- 2.20.1