From 3f975f97693dfe046dba0d88aaf2bbf2bafa62b6 Mon Sep 17 00:00:00 2001 From: Olivier Dony Date: Fri, 6 Apr 2018 08:51:49 +0200 Subject: [PATCH] [FIX] account_payment: make partner_id required only when draft When not draft, the partner_id field is readonly and cannot be modified anyway, but it makes the form invalid, so form buttons cannot be used, e.g. to access the journal items, etc. --- addons/account/views/account_payment_view.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/account/views/account_payment_view.xml b/addons/account/views/account_payment_view.xml index e4dfd90dd77d7..9528a20787ad7 100644 --- a/addons/account/views/account_payment_view.xml +++ b/addons/account/views/account_payment_view.xml @@ -145,7 +145,7 @@ - +