From 0c1941ab157e07ea58213cedafb19979cac2e447 Mon Sep 17 00:00:00 2001 From: Ankit Sathvara Date: Fri, 7 Jul 2017 11:47:27 +0200 Subject: [PATCH] [IMP] sale,account,pos: Improve label on config to active currencies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PURPOSE ======= Simplify the way to activate currencies SPECIFICATION ============= On res.company : Currency_id: options={‘no_open’: True} oe_edit_only on “Activate more currencies” In the list view of the currencies, replace the checkbox active by a boolean_toogle widger There is normally a default filter on the currencies list view to only show the active currencies : this filter should be kept except if you arrive on this screen by clicking on "Activate more currencies" from the res.company and from the settings. Only the menuitem Currencies should only show the active ones --- .../views/account_config_settings_views.xml | 2 +- .../views/pos_config_settings_views.xml | 2 +- .../sale/views/sale_config_settings_views.xml | 2 +- .../views/website_config_settings_views.xml | 2 +- odoo/addons/base/res/res_company_view.xml | 2 +- odoo/addons/base/res/res_currency_view.xml | 18 +++++++++++++----- 6 files changed, 18 insertions(+), 10 deletions(-) diff --git a/addons/account/views/account_config_settings_views.xml b/addons/account/views/account_config_settings_views.xml index c3626626056..c0d98d69fab 100644 --- a/addons/account/views/account_config_settings_views.xml +++ b/addons/account/views/account_config_settings_views.xml @@ -149,7 +149,7 @@
-
-
-
diff --git a/addons/website_sale/views/website_config_settings_views.xml b/addons/website_sale/views/website_config_settings_views.xml index 49379c710be..8c136754817 100644 --- a/addons/website_sale/views/website_config_settings_views.xml +++ b/addons/website_sale/views/website_config_settings_views.xml @@ -86,7 +86,7 @@
-