summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authorRomain Derie <rde@odoo.com>2021-04-09 09:11:01 +0000
committerRomain Derie <rde@odoo.com>2021-04-09 09:14:10 +0000
commit0650862c7adcbe4113e071778a66053b88e004ef (patch)
tree3412657e8deda57b10ac5c719b147f42c6940280 /addons
parent266a8e2a8abf936d5fbd45752ddf492d92e6a397 (diff)
[FIX] website: show domain in settings even if no multi-website
Without this commit, a database with only one website would not see the domain field in the res settings. But the domain field is useful to set even if there is only one website. For instance, if no domain is specified, the web.base.url ICP will be used instead to generate links, but it might be the wrong url as it is the last domain used to login as the admin (unless web.base.url.freeze is set). Also, one might want to unset the `localhost` domain that was set by default in xml data (now removed with 1f0edacdf) closes odoo/odoo#69025 Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/website/views/res_config_settings_views.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website/views/res_config_settings_views.xml b/addons/website/views/res_config_settings_views.xml
index c01c45a7da3..080cb5a2dc8 100644
--- a/addons/website/views/res_config_settings_views.xml
+++ b/addons/website/views/res_config_settings_views.xml
@@ -95,7 +95,7 @@
</div>
</div>
</div>
- <div class="col-12 col-lg-6 o_setting_box" id="domain_settings" groups="website.group_multi_website">
+ <div class="col-12 col-lg-6 o_setting_box" id="domain_settings">
<div class="o_setting_right_pane">
<label string="Domain" for="website_domain"/>
<span class="fa fa-lg fa-globe" title="Values set here are website-specific." groups="website.group_multi_website"/>