From a8a39fd36dfad8a13c248ee6d6c05bab832c6ded Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Fri, 4 Aug 2023 23:51:48 +0200 Subject: [PATCH] Replace tree open on group by a link and relate on the form --- modules/account_payment/payment.xml | 32 +++++++++++++++++-- .../view/payment_group_form.xml | 5 ++- .../view/payment_group_list.xml | 2 +- 3 files changed, 35 insertions(+), 4 deletions(-) diff --git a/modules/account_payment/payment.xml b/modules/account_payment/payment.xml index 691c635cfe..6ba15f15f1 100644 --- a/modules/account_payment/payment.xml +++ b/modules/account_payment/payment.xml @@ -420,7 +420,7 @@ this repository contains the full copyright notices and license terms. --> Payments account.payment + eval="[('group', 'in', Eval('active_ids', []))]" pyson="1"/> @@ -434,9 +434,37 @@ this repository contains the full copyright notices and license terms. --> + + Processing + + + + + + + Succeeded + + + + + + + Failed + + + + + + + All + + + + + - tree_open + form_relate account.payment.group,-1 diff --git a/modules/account_payment/view/payment_group_form.xml b/modules/account_payment/view/payment_group_form.xml index 9465e616a3..6e449a7e2f 100644 --- a/modules/account_payment/view/payment_group_form.xml +++ b/modules/account_payment/view/payment_group_form.xml @@ -20,5 +20,8 @@ this repository contains the full copyright notices and license terms. -->