From b0939529de5cd4273e64cfe729f1b5f532bbd859 Mon Sep 17 00:00:00 2001 From: wan Date: Wed, 5 Feb 2020 15:43:04 +0000 Subject: [PATCH] [FIX] account: writeoff_account_id not required if no difference opw-2152644 Do not set the field writeoff_account_id as required if the payment_difference is zero because there is no writeoff in that case and the field is invisible. closes odoo/odoo#45155 X-original-commit: 0eafca639c9cd8388c2b6e877698fc35494d0511 Signed-off-by: Nicolas Martinelli (nim) --- addons/account/views/account_payment_view.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/views/account_payment_view.xml b/addons/account/views/account_payment_view.xml index 10a27437e5639..ea042c4c67d6d 100644 --- a/addons/account/views/account_payment_view.xml +++ b/addons/account/views/account_payment_view.xml @@ -176,9 +176,9 @@