From 741a7c797da885ab995825b64564f25a1565778c 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#45253 X-original-commit: b0939529de5cd4273e64cfe729f1b5f532bbd859 Signed-off-by: wan --- 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 9b784e545de0f..db6d008874767 100644 --- a/addons/account/views/account_payment_view.xml +++ b/addons/account/views/account_payment_view.xml @@ -182,9 +182,9 @@