summaryrefslogtreecommitdiff
path: root/addons/base_setup
diff options
context:
space:
mode:
authorshs-odoo <shs@odoo.com>2020-06-23 11:20:05 +0000
committerBarad Mahendra <mba@openerp.com>2020-07-17 12:47:34 +0000
commitd35adaa030e68f18516af312c2cdf013e9397114 (patch)
treeec84a2c0ea9dad34d6ff5c8914dce920579cc7a2 /addons/base_setup
parent00dd5b224b840ab2e9362184068c4c0560244614 (diff)
[IMP] base,base_setup: Improve general languages settings
Purpose of the task is, We saw that users encounter difficulties while installing languages so improve the user onboarding experience when user wants to install a new language. So in this commit, - Change the load langauge wizard title as 'Add Language' and rename the button as 'Add' - Removed documentation link as it is not up to date - Added the 'Add language' button to general settings and it will open the wizard to load the languages. and move the 'manage language' button to the debug mode. - After install added button 'switch to (lang) & close' to switch to newly added language. closes odoo/odoo#53581 Taskid: 2281393 Closes: #53581 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com> Co-authored-by: Nisha Patel <nit@odoo.com>
Diffstat (limited to 'addons/base_setup')
-rw-r--r--addons/base_setup/views/res_config_settings_views.xml4
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/base_setup/views/res_config_settings_views.xml b/addons/base_setup/views/res_config_settings_views.xml
index 07f41954c03..8bfd02bae52 100644
--- a/addons/base_setup/views/res_config_settings_views.xml
+++ b/addons/base_setup/views/res_config_settings_views.xml
@@ -80,9 +80,11 @@
<span class='o_form_label' attrs="{'invisible':[('language_count', '&lt;=', '1')]}">
Languages
</span>
- <a href="https://www.odoo.com/documentation/user/13.0/general/odoo_basics/choose_language.html" title="Documentation" class="o_doc_link" target="_blank"></a>
</div>
<div class="mt8">
+ <button name="%(base.action_view_base_language_install)d" icon="fa-arrow-right" type="action" string="Add Language" class="btn-link"/>
+ </div>
+ <div class="mt8" groups="base.group_no_one">
<button name="%(base.res_lang_act_window)d" icon="fa-arrow-right" type="action" string="Manage Languages" class="btn-link"/>
</div>
</div>