[IMP] hr: add missing helpers

Change adds missing helpers and alters some of their messages
in differents parts of HR apps.

task-3522163

closes odoo/odoo#145268

X-original-commit: a2238763d4fad99da69a96104adf26b6d8eca938
Related: odoo/enterprise#52261
Signed-off-by: Bertrand Dossogne (bedo) <bedo@odoo.com>
This commit is contained in:
Kacper Gasior
2023-12-07 22:48:39 +00:00
parent 2659e98a36
commit d36f23bbf3
13 changed files with 114 additions and 18 deletions
+10 -12
View File
@@ -856,6 +856,16 @@ msgstr ""
msgid "Create a new department"
msgstr ""
#. module: hr
#: model_terms:ir.actions.act_window,help:hr.hr_contract_type_action
msgid "Create a new employment type"
msgstr ""
#. module: hr
#: model_terms:ir.actions.act_window,help:hr.hr_work_location_action
msgid "Create a new work location"
msgstr ""
#. module: hr
#: model_terms:hr.job,website_description:hr.job_ceo
#: model_terms:hr.job,website_description:hr.job_consultant
@@ -2046,11 +2056,6 @@ msgstr ""
msgid "No Tags found ! Let's create one"
msgstr ""
#. module: hr
#: model_terms:ir.actions.act_window,help:hr.hr_work_location_action
msgid "No Work Locations found ! Let's create one"
msgstr ""
#. module: hr
#: model_terms:hr.job,website_description:hr.job_ceo
#: model_terms:hr.job,website_description:hr.job_consultant
@@ -3270,13 +3275,6 @@ msgstr ""
msgid "Work Locations"
msgstr ""
#. module: hr
#: model_terms:ir.actions.act_window,help:hr.hr_work_location_action
msgid ""
"Work Locations are used to define more precisely where your employee is "
"located everyday."
msgstr ""
#. module: hr
#: model:ir.model.fields,field_description:hr.field_hr_employee__mobile_phone
#: model:ir.model.fields,field_description:hr.field_hr_employee_base__mobile_phone
@@ -32,6 +32,11 @@
<field name="name">Employment Types</field>
<field name="res_model">hr.contract.type</field>
<field name="view_mode">tree</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
Create a new employment type
</p>
</field>
</record>
</data>
</odoo>
+1 -4
View File
@@ -43,10 +43,7 @@
<field name="view_mode">tree,form</field>
<field name="help" type="html">
<p class="o_view_nocontent_smiling_face">
No Work Locations found ! Let's create one
</p>
<p>
Work Locations are used to define more precisely where your employee is located everyday.
Create a new work location
</p>
</field>
</record>