From 1e5d146d07a03d41a947bd4ae100e3757ba56a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Fri, 22 Sep 2023 12:40:51 +0200 Subject: [PATCH 1/2] [FIX] account_payment_order: Add extra form view only to avoid open move lines in edit mode TT45211 --- account_payment_order/views/account_move_line.xml | 15 ++++++++++++++- .../wizard/account_payment_line_create_view.xml | 3 ++- 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/account_payment_order/views/account_move_line.xml b/account_payment_order/views/account_move_line.xml index 52a7ebf7a..0e712d677 100644 --- a/account_payment_order/views/account_move_line.xml +++ b/account_payment_order/views/account_move_line.xml @@ -18,12 +18,25 @@ + + + account.move.line.form.no_edit + account.move.line + + primary + 999 + +
+ 0 +
+
+
account_payment_order.add.move_line_tree account.move.line primary - 99 + 999 diff --git a/account_payment_order/wizard/account_payment_line_create_view.xml b/account_payment_order/wizard/account_payment_line_create_view.xml index 69a9bb59c..0a9beb129 100644 --- a/account_payment_order/wizard/account_payment_line_create_view.xml +++ b/account_payment_order/wizard/account_payment_line_create_view.xml @@ -49,7 +49,8 @@ From e95d794aef37ab25239efd7a2e75793b39f81928 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Mart=C3=ADnez?= Date: Fri, 22 Sep 2023 17:37:16 +0200 Subject: [PATCH 2/2] [FIX] account_payment_order: Add colspan=2 to a correct visualization --- .../wizard/account_payment_line_create_view.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/account_payment_order/wizard/account_payment_line_create_view.xml b/account_payment_order/wizard/account_payment_line_create_view.xml index 0a9beb129..39fd95dcf 100644 --- a/account_payment_order/wizard/account_payment_line_create_view.xml +++ b/account_payment_order/wizard/account_payment_line_create_view.xml @@ -40,7 +40,12 @@ string="Click on Add All Move Lines to auto-select the move lines matching the above criteria or click on Add an item to manually select the move lines filtered by the above criteria." colspan="2" /> -