From 8c2450de7d1e44884eaade9da9b9c3dfc0b1840d Mon Sep 17 00:00:00 2001 From: Victor Feyens Date: Fri, 16 Dec 2022 16:43:54 +0000 Subject: [PATCH] [IMP] sale(_*): settings display of default SO values This commit reworks the display of the default SO values in the settings to make it clear to the users what those settings impact and that they are overridden by the quotation template when specified. task-2880950 Part-of: odoo/odoo#97565 --- .../sale/wizard/res_config_settings_views.xml | 46 +++++++++++++------ .../views/res_config_settings_views.xml | 37 +++++++-------- .../views/res_config_settings_views.xml | 9 ++-- 3 files changed, 58 insertions(+), 34 deletions(-) diff --git a/addons/sale/wizard/res_config_settings_views.xml b/addons/sale/wizard/res_config_settings_views.xml index 26c3f05703b..55c72a95296 100644 --- a/addons/sale/wizard/res_config_settings_views.xml +++ b/addons/sale/wizard/res_config_settings_views.xml @@ -63,20 +63,40 @@ - - - - - -
-
-
- - - - - - -
- Design your quotation templates using building blocks
- Warning: this option will install the Website app. +
+ +
+
+ Design your quotation templates using building blocks
+ + +
+ Default values will be overwritten by values provided by the quotation template. +
- - - - - res.config.settings.view.form.inherit.sale.management - res.config.settings - - - + 0 - + diff --git a/addons/sale_quotation_builder/views/res_config_settings_views.xml b/addons/sale_quotation_builder/views/res_config_settings_views.xml index 0c43ae26f62..edefed035e4 100644 --- a/addons/sale_quotation_builder/views/res_config_settings_views.xml +++ b/addons/sale_quotation_builder/views/res_config_settings_views.xml @@ -1,11 +1,14 @@ - - res.config.settings.view.form.inherit.sale.management.inherit.sale.quotation.builder + + + res.config.settings.view.form res.config.settings - + + +