From a2dd94fdd4d15a19c755317a55214d3f45299d12 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] [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 @@