From 137402863dee32a2e74a659b8ee474a915def90b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Tue, 19 Sep 2023 13:25:11 +0200 Subject: [PATCH] [IMP] account_payment_order: Add payment_ref field to account.payment tree and form views Co-authored-by: luc-demeyer TT45153 --- account_payment_order/__manifest__.py | 1 + .../views/account_payment_order.xml | 7 ++++- .../views/account_payment_views.xml | 27 +++++++++++++++++++ 3 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 account_payment_order/views/account_payment_views.xml diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index fec71e88d..173ae099c 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -27,6 +27,7 @@ "wizard/account_payment_line_create_view.xml", "wizard/account_invoice_payment_line_multi_view.xml", "views/account_payment_mode.xml", + "views/account_payment_views.xml", "views/account_payment_order.xml", "views/account_payment_line.xml", "views/account_move_line.xml", diff --git a/account_payment_order/views/account_payment_order.xml b/account_payment_order/views/account_payment_order.xml index 39b783038..4e2e71405 100644 --- a/account_payment_order/views/account_payment_order.xml +++ b/account_payment_order/views/account_payment_order.xml @@ -126,7 +126,12 @@ string="Payment Transactions" attrs="{'invisible': [('state', 'in', ('draft', 'cancel'))]}" > - + diff --git a/account_payment_order/views/account_payment_views.xml b/account_payment_order/views/account_payment_views.xml new file mode 100644 index 000000000..8dd2d67c1 --- /dev/null +++ b/account_payment_order/views/account_payment_views.xml @@ -0,0 +1,27 @@ + + + + account.payment.tree + account.payment + primary + + + + + + + + + account.payment.form + account.payment + + + + + + + +