From a5b65631e388c60b1fda12b7f98d2f4a7a26b9e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marques?= Date: Mon, 17 May 2021 08:51:23 +0100 Subject: [PATCH 1/2] [FIX] account_payment_order: Change security group category Before this change, the group was creating a new section in each user's settings called "Other" with a field called "Other Extra Rights" that could select "Accounting / Payments" as an option This places it in the correct location TT29182 --- account_payment_order/security/payment_security.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/account_payment_order/security/payment_security.xml b/account_payment_order/security/payment_security.xml index 3513f33d7..38a7336eb 100644 --- a/account_payment_order/security/payment_security.xml +++ b/account_payment_order/security/payment_security.xml @@ -7,7 +7,7 @@ name="users" eval="[(4, ref('base.user_root')), (4, ref('base.user_admin'))]" /> - + From 37afc5b29b915eea742cba40fd9c79400897e233 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Marques?= Date: Mon, 17 May 2021 10:39:32 +0100 Subject: [PATCH 2/2] [FIX] account_payment_order: Make post move field invisible in payment modes When the generate_moves option is not selected, the post_move option should not be available TT29182 --- account_payment_order/views/account_payment_mode.xml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/account_payment_order/views/account_payment_mode.xml b/account_payment_order/views/account_payment_mode.xml index 136629183..a5cf26d98 100644 --- a/account_payment_order/views/account_payment_mode.xml +++ b/account_payment_order/views/account_payment_mode.xml @@ -57,7 +57,10 @@ name="move_option" attrs="{'invisible': [('generate_move', '=', False)], 'required': [('generate_move', '=', True)]}" /> - +