Skip to content

Commit

Permalink
[IMP] fix false positive warning on odoo.sh "Two fields (country_depa…
Browse files Browse the repository at this point in the history
…rtment_id, department_id) of res.users() have the same label: Department. [Modules: None and hr]"
  • Loading branch information
myrrkel committed Jun 29, 2023
1 parent ea9274c commit 1d9e8e3
Show file tree
Hide file tree
Showing 24 changed files with 24 additions and 24 deletions.
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/am.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Creado en"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/bg.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr ""
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/ca.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Creat el"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/cs_CZ.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr "Vytvořeno"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr "Oddělení"

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/da.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr ""
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/de.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Erstellt am:"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/el_GR.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr "Δημιουργήθηκε στις"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/es.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Creado en"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Creado en"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/es_MX.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr ""
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/fi.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Luotu"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/fr.po
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ msgstr "Créé le"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr "Département"

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/fr_CH.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr ""
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/gl.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Creado en"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/hr.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr ""
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/it.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr "Creato il"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/nb_NO.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr "Laget den"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr "Departement"

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/nl.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr ""
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/pt.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Criado em"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ msgstr "Criado em"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/pt_PT.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Criado em"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/sl.po
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ msgstr "Ustvarjeno"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/i18n/tr.po
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ msgstr "Oluşturuldu"
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_partner__country_department_id
#: model:ir.model.fields,field_description:l10n_fr_department.field_res_users__country_department_id
#: model_terms:ir.ui.view,arch_db:l10n_fr_department.view_res_partner_filter
msgid "Department"
msgid "Country Department"
msgstr ""

#. module: l10n_fr_department
Expand Down
2 changes: 1 addition & 1 deletion l10n_fr_department/model/res_partner.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ResPartner(models.Model):
country_department_id = fields.Many2one(
"res.country.department",
compute="_compute_country_department",
string="Department",
string="Country Department",
store=True,
)

Expand Down

0 comments on commit 1d9e8e3

Please sign in to comment.