From 5a7deba4ff98cab2f9175dcee44b417ee6626d02 Mon Sep 17 00:00:00 2001 From: IEL Date: Fri, 16 Oct 2020 10:12:53 +0000 Subject: [PATCH] [FIX] account: show payment_reference in draft invoices It was hidden in https://github.com/odoo/odoo/commit/d1bbf11af27e4ce12b025ef22e397302ee6336c2 But customers actually need it. opw-2358111 closes odoo/odoo#60746 X-original-commit: e676f5813455896b2bf853404228d11b02f58a15 Signed-off-by: Nicolas Martinelli (nim) --- 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 3a6c7a6ba17..c61045a6f24 100644 --- a/addons/account/views/account_move_views.xml +++ b/addons/account/views/account_move_views.xml @@ -654,7 +654,7 @@ + attrs="{'invisible': [('move_type', 'not in', ('out_invoice', 'out_refund', 'in_invoice', 'in_refund', 'out_receipt', 'in_receipt'))], 'readonly': [('state', '!=', 'draft')]}"/>