From 76a63358e88cb8cc2418ae0490d3e1cb7df4f944 Mon Sep 17 00:00:00 2001 From: Antoine Boonen Date: Fri, 28 Jul 2023 12:28:01 +0000 Subject: [PATCH] [IMP] account: Make due date invisible for cancelled invoices/bills. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem --------- When an invoice or bill has been canceled, the Due Date for the payment is still showing, even though this information is not relevant anymore as no payment is expected.  Objective --------- Make due date invisible when the invoice/bill is cancelled. Solution --------- Modify the invisible attrs condition of the field in the account_move tree view by add a condition on the state. task-3439357 closes odoo/odoo#130028 Signed-off-by: Laurent Smet (las) --- addons/account/views/account_move_views.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/account_move_views.xml b/addons/account/views/account_move_views.xml index b5ea7d2f479..0239dc372a7 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -414,7 +414,7 @@ - +