summaryrefslogtreecommitdiff
path: root/addons
diff options
context:
space:
mode:
authornasreddin boulif <bon@odoo.com>2020-03-13 08:54:21 +0000
committerNasreddin (bon) <bon@odoo.com>2020-03-20 08:53:57 +0000
commitd948362e60b3d1bde70551f21efcf778991c4779 (patch)
treeaa2cf34e6e0e41e2cdbcb6249f589537a87f170f /addons
parent19d00d668a40126cdc3eeb6f854435af8ff9d7de (diff)
[IMP] base,contacts,website_customer: rename "Sectors of activity" to "Industries"
Purpose of this commit is to improve english wording in Odoo regarding res.partner.industry model. For that purpose we rename "Sectors of activity" with "Industries" everywhere we use that naming. Original feedback #2212682 Task ID #2214290 Closes #47559 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
Diffstat (limited to 'addons')
-rw-r--r--addons/contacts/views/contact_views.xml2
-rw-r--r--addons/website_customer/controllers/main.py2
-rw-r--r--addons/website_customer/views/website_customer_templates.xml2
3 files changed, 3 insertions, 3 deletions
diff --git a/addons/contacts/views/contact_views.xml b/addons/contacts/views/contact_views.xml
index f14cae696a7..31f755bbff6 100644
--- a/addons/contacts/views/contact_views.xml
+++ b/addons/contacts/views/contact_views.xml
@@ -63,7 +63,7 @@
name="Contact Titles" parent="res_partner_menu_config"
sequence="3"/>
- <menuitem id="res_partner_industry_menu" name="Sectors of Activity"
+ <menuitem id="res_partner_industry_menu" name="Industries"
action="base.res_partner_industry_action" parent="res_partner_menu_config"
sequence="4"/>
diff --git a/addons/website_customer/controllers/main.py b/addons/website_customer/controllers/main.py
index 7ef94366be8..9bc6960b603 100644
--- a/addons/website_customer/controllers/main.py
+++ b/addons/website_customer/controllers/main.py
@@ -78,7 +78,7 @@ class WebsiteCustomer(http.Controller):
industries.insert(0, {
'industry_id_count': partners_count,
- 'industry_id': (0, _("All Sectors of Activity"))
+ 'industry_id': (0, _("All Industries"))
})
# group by country, based on customers found with the search(domain)
diff --git a/addons/website_customer/views/website_customer_templates.xml b/addons/website_customer/views/website_customer_templates.xml
index 2d98fd5c74b..d2be629480a 100644
--- a/addons/website_customer/views/website_customer_templates.xml
+++ b/addons/website_customer/views/website_customer_templates.xml
@@ -90,7 +90,7 @@
<template id="opt_industry_list" inherit_id="website_customer.index" customize_show="True" name="Filter on Industry" priority="20">
<xpath expr="//div[@id='ref_left_column']" position="inside">
- <h3>References by Sectors of Activity</h3>
+ <h3>References by Industries</h3>
<ul class="nav nav-pills flex-column mt16 mb32">
<t t-foreach="industries" t-as="industry_dict">
<t t-if="industry_dict['industry_id']">