From d326a9c4c4f972799a110d1fb634e84168295eee Mon Sep 17 00:00:00 2001 From: niyasraphy Date: Sun, 1 Jan 2023 15:41:32 +0000 Subject: [PATCH] [FIX] sale: show sales warning only when feature is activated in settings after this commit: https://github.com/odoo/odoo/commit/8b91cab67f122667ecc250a8b016b152929c61e2 sales warning fields sale_warn and sale_warn_msg fields in the partner form is displayed always without respecting the option in sales settings. the fields will be displayed always even if the feature is unticked in the settings. after this commit, the fields will be shown only once the feature is activated in settings. closes odoo/odoo#108987 X-original-commit: d247279c9e42469d0a120fa8d673fec69186c7e5 Signed-off-by: Victor Feyens (vfe) --- addons/sale/views/res_partner_views.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/sale/views/res_partner_views.xml b/addons/sale/views/res_partner_views.xml index 76190e3771e..b1f4ab51155 100644 --- a/addons/sale/views/res_partner_views.xml +++ b/addons/sale/views/res_partner_views.xml @@ -52,8 +52,8 @@ - - + +