summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorqdp-odoo <qdp@odoo.com>2018-04-19 09:52:05 +0200
committerqdp-odoo <qdp@odoo.com>2018-04-19 10:59:24 +0200
commitccd58febd4571b864ea64d7fdd1663fc69b209b2 (patch)
treeb1cd8254bf805019c882040218263cbd316bfbf5 /addons
parentb874448e799e8720d37f4c50023c9679254f36bc (diff)
[FIX] base, account: usability on company currency selection.
We now display all the existing currencies (even the unactivated) instead of a link to activate more of them, and upon the save we make sure to activate the selected currency if it's not yet the case. That's better from a point of view since it avoids jumping off of the screen then come back to make this setting
Diffstat (limited to 'addons')
-rw-r--r--addons/account/views/res_config_settings_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/views/res_config_settings_views.xml b/addons/account/views/res_config_settings_views.xml
index e02640721fe..2c23fdf635b 100644
--- a/addons/account/views/res_config_settings_views.xml
+++ b/addons/account/views/res_config_settings_views.xml
@@ -146,7 +146,7 @@
<div class="content-group">
<div class="row mt16">
<label for="currency_id" class="col-md-3 o_light_label"/>
- <field name="currency_id" options="{'no_create_edit': True, 'no_open': True}"/>
+ <field name="currency_id" options="{'no_create_edit': True, 'no_open': True}" context="{'active_test': False}"/>
</div>
</div>
</div>