From c4f9d83c25193c5a4ae9dd84aedf9f5378c8051d Mon Sep 17 00:00:00 2001 From: Adrien Widart Date: Tue, 4 May 2021 10:46:29 +0000 Subject: [PATCH] [FIX] account: prevent creation of JE on analytic line creation When the user creates a new account analytic line, he should not be able to create a new journal item. To reproduce the error: (Use demo data) 1. In Settings, enable "Analytic Accounting" 2. Accounting > Configuration > Analytic Accounts > Administrative > Cost/Revenue 3. Create a new one 4. Click on "Journal Item" list Error: the list contains the "Create and Edit..." option. Such an action should not be possible. OPW-2481197 closes #69881 closes odoo/odoo#70399 X-original-commit: f3ef533ed18c996f7f87c9596135e450479a8c19 Signed-off-by: Quentin De Paoli (qdp) Signed-off-by: Adrien Widart --- addons/account/views/account_analytic_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/account_analytic_view.xml b/addons/account/views/account_analytic_view.xml index c91e6070079..0488534d2c8 100644 --- a/addons/account/views/account_analytic_view.xml +++ b/addons/account/views/account_analytic_view.xml @@ -18,7 +18,7 @@ - +