diff options
| author | nasreddin boulif <bon@odoo.com> | 2020-03-13 08:54:21 +0000 |
|---|---|---|
| committer | Nasreddin (bon) <bon@odoo.com> | 2020-03-20 08:53:57 +0000 |
| commit | d948362e60b3d1bde70551f21efcf778991c4779 (patch) | |
| tree | aa2cf34e6e0e41e2cdbcb6249f589537a87f170f | |
| parent | 19d00d668a40126cdc3eeb6f854435af8ff9d7de (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>
| -rw-r--r-- | addons/contacts/views/contact_views.xml | 2 | ||||
| -rw-r--r-- | addons/website_customer/controllers/main.py | 2 | ||||
| -rw-r--r-- | addons/website_customer/views/website_customer_templates.xml | 2 | ||||
| -rw-r--r-- | odoo/addons/base/views/res_partner_views.xml | 4 |
4 files changed, 5 insertions, 5 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']"> diff --git a/odoo/addons/base/views/res_partner_views.xml b/odoo/addons/base/views/res_partner_views.xml index 2aeca6560a1..8fba59c7066 100644 --- a/odoo/addons/base/views/res_partner_views.xml +++ b/odoo/addons/base/views/res_partner_views.xml @@ -750,7 +750,7 @@ </record> <record id="res_partner_industry_action" model="ir.actions.act_window"> - <field name="name">Industry</field> + <field name="name">Industries</field> <field name="type">ir.actions.act_window</field> <field name="res_model">res.partner.industry</field> <field name="view_mode">tree,form</field> @@ -759,7 +759,7 @@ <p class="o_view_nocontent_smiling_face"> Create a new industry </p><p> - Manage sectors of activity to better classify partners for tracking and analysis purposes. + Manage industries to better classify partners for tracking and analysis purposes. </p> </field> </record> |
