[FIX] hr_skills, hr_skills_{}: fix typo
closes odoo/odoo#107513 X-original-commit: 641571c27a2c8cfb4da243977ddec512dea11587 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
'category': 'Human Resources/Employees',
|
||||
'sequence': 270,
|
||||
'version': '1.0',
|
||||
'summary': 'Manage skills, knowledge and resumé of your employees',
|
||||
'summary': 'Manage skills, knowledge and resume of your employees',
|
||||
'description':
|
||||
"""
|
||||
Skills and Resumé for HR
|
||||
Skills and Resume for HR
|
||||
========================
|
||||
|
||||
This module introduces skills and resumé management for employees.
|
||||
This module introduces skills and resume management for employees.
|
||||
""",
|
||||
'depends': ['hr'],
|
||||
'data': [
|
||||
|
||||
@@ -233,7 +233,7 @@
|
||||
<field name="skill_type_id" ref="hr_skill_type_marketing"/>
|
||||
</record>
|
||||
|
||||
<!-- Resumé -->
|
||||
<!-- Resume -->
|
||||
<record id="employee_resume_line_admin_1" model="hr.resume.line">
|
||||
<field name="employee_id" ref="hr.employee_admin"/>
|
||||
<field name="name">Université Libre de Bruxelles - Polytechnique</field>
|
||||
|
||||
@@ -291,11 +291,6 @@ msgstr ""
|
||||
msgid "Public Employee"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
#: model_terms:ir.ui.view,arch_db:hr_skills.hr_employee_view_form
|
||||
msgid "Resume"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
#: model:ir.ui.menu,name:hr_skills.menu_human_resources_configuration_resume
|
||||
#: model_terms:ir.ui.view,arch_db:hr_skills.hr_employee_public_view_form_inherit
|
||||
@@ -304,24 +299,24 @@ msgstr ""
|
||||
#: model_terms:ir.ui.view,arch_db:hr_skills.hr_employee_view_search
|
||||
#: model_terms:ir.ui.view,arch_db:hr_skills.res_users_view_form
|
||||
#: model_terms:ir.ui.view,arch_db:hr_skills.resume_line_view_form
|
||||
msgid "Resumé"
|
||||
msgid "Resume"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
#: model:ir.actions.act_window,name:hr_skills.hr_resume_type_action
|
||||
msgid "Resumé Line Types"
|
||||
msgid "Resume Line Types"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
#: model:ir.model,name:hr_skills.model_hr_resume_line
|
||||
msgid "Resumé line of an employee"
|
||||
msgid "Resume line of an employee"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
#: model:ir.model.fields,field_description:hr_skills.field_hr_employee__resume_line_ids
|
||||
#: model:ir.model.fields,field_description:hr_skills.field_hr_employee_public__resume_line_ids
|
||||
#: model:ir.model.fields,field_description:hr_skills.field_res_users__resume_line_ids
|
||||
msgid "Resumé lines"
|
||||
msgid "Resume lines"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
@@ -470,7 +465,7 @@ msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
#: model:ir.model,name:hr_skills.model_hr_resume_line_type
|
||||
msgid "Type of a resumé line"
|
||||
msgid "Type of a resume line"
|
||||
msgstr ""
|
||||
|
||||
#. module: hr_skills
|
||||
|
||||
@@ -7,7 +7,7 @@ from odoo import api, fields, models
|
||||
class Employee(models.Model):
|
||||
_inherit = 'hr.employee'
|
||||
|
||||
resume_line_ids = fields.One2many('hr.resume.line', 'employee_id', string="Resumé lines")
|
||||
resume_line_ids = fields.One2many('hr.resume.line', 'employee_id', string="Resume lines")
|
||||
employee_skill_ids = fields.One2many('hr.employee.skill', 'employee_id', string="Skills")
|
||||
skill_ids = fields.Many2many('hr.skill', compute='_compute_skill_ids', store=True)
|
||||
|
||||
|
||||
@@ -7,5 +7,5 @@ from odoo import fields, models
|
||||
class EmployeePublic(models.Model):
|
||||
_inherit = 'hr.employee.public'
|
||||
|
||||
resume_line_ids = fields.One2many('hr.resume.line', 'employee_id', string="Resumé lines")
|
||||
resume_line_ids = fields.One2many('hr.resume.line', 'employee_id', string="Resume lines")
|
||||
employee_skill_ids = fields.One2many('hr.employee.skill', 'employee_id', string="Skills")
|
||||
|
||||
@@ -6,7 +6,7 @@ from odoo import fields, models
|
||||
|
||||
class ResumeLine(models.Model):
|
||||
_name = 'hr.resume.line'
|
||||
_description = "Resumé line of an employee"
|
||||
_description = "Resume line of an employee"
|
||||
_order = "line_type_id, date_end desc, date_start desc"
|
||||
|
||||
employee_id = fields.Many2one('hr.employee', required=True, ondelete='cascade')
|
||||
|
||||
@@ -6,7 +6,7 @@ from odoo import fields, models
|
||||
|
||||
class ResumeLineType(models.Model):
|
||||
_name = 'hr.resume.line.type'
|
||||
_description = "Type of a resumé line"
|
||||
_description = "Type of a resume line"
|
||||
_order = "sequence"
|
||||
|
||||
name = fields.Char(required=True)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<odoo noupdate="1">
|
||||
|
||||
<record id="hr_resume_rule_employee" model="ir.rule">
|
||||
<field name="name">Resumé: employee: read all</field>
|
||||
<field name="name">Resume: employee: read all</field>
|
||||
<field name="model_id" ref="model_hr_resume_line"/>
|
||||
<field name="domain_force">[(1, '=', 1)]</field>
|
||||
<field name="perm_create" eval="False"/>
|
||||
@@ -12,14 +12,14 @@
|
||||
</record>
|
||||
|
||||
<record id="hr_resume_rule_employee_hr_user" model="ir.rule">
|
||||
<field name="name">Resumé: HR user: all</field>
|
||||
<field name="name">Resume: HR user: all</field>
|
||||
<field name="model_id" ref="model_hr_resume_line"/>
|
||||
<field name="domain_force">[(1, '=', 1)]</field>
|
||||
<field name="groups" eval="[(4,ref('hr.group_hr_user'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_skills_rule_employee_update" model="ir.rule">
|
||||
<field name="name">Resumé: employee: create/write/unlink own</field>
|
||||
<field name="name">Resume: employee: create/write/unlink own</field>
|
||||
<field name="model_id" ref="model_hr_resume_line"/>
|
||||
<field name="domain_force">[('employee_id.user_id','=',user.id)]</field>
|
||||
<field name="perm_read" eval="False"/>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='job_id']" position="after">
|
||||
<field name="employee_skill_ids"/>
|
||||
<field name="resume_line_ids" string="Resumé" filter_domain="['|', ('resume_line_ids.name', 'ilike', self), ('resume_line_ids.description', 'ilike', self)]"/>
|
||||
<field name="resume_line_ids" string="Resume" filter_domain="['|', ('resume_line_ids.name', 'ilike', self), ('resume_line_ids.description', 'ilike', self)]"/>
|
||||
</xpath>
|
||||
<filter name="group_job" position="after">
|
||||
<filter name="group_by_skill_ids" string="Skills" domain="[]" context="{'group_by': 'skill_ids'}"/>
|
||||
@@ -23,7 +23,7 @@
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='job_title']" position="after">
|
||||
<field name="employee_skill_ids"/>
|
||||
<field name="resume_line_ids" string="Resumé" filter_domain="['|', ('resume_line_ids.name', 'ilike', self), ('resume_line_ids.description', 'ilike', self)]"/>
|
||||
<field name="resume_line_ids" string="Resume" filter_domain="['|', ('resume_line_ids.name', 'ilike', self), ('resume_line_ids.description', 'ilike', self)]"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
@@ -32,7 +32,7 @@
|
||||
<field name="name">hr.resume.line.form</field>
|
||||
<field name="model">hr.resume.line</field>
|
||||
<field name="arch" type="xml">
|
||||
<form string="Resumé">
|
||||
<form string="Resume">
|
||||
<sheet>
|
||||
<div class="oe_title">
|
||||
<label for="name" string="Title"/>
|
||||
@@ -63,7 +63,7 @@
|
||||
<field name="inherit_id" ref="hr.view_employee_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='public']" position="before">
|
||||
<page name="public" string="Resumé">
|
||||
<page name="public" string="Resume">
|
||||
<div class="row">
|
||||
<div class="o_hr_skills_editable o_hr_skills_group o_group_resume col-lg-7 d-flex flex-column">
|
||||
<separator string="Resume"/>
|
||||
@@ -106,7 +106,7 @@
|
||||
<field name="inherit_id" ref="hr.hr_employee_public_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='public']" position="before">
|
||||
<page name="public" string="Resumé">
|
||||
<page name="public" string="Resume">
|
||||
<div class="row">
|
||||
<div class="o_hr_skills_group o_group_resume col-lg-7 d-flex flex-column">
|
||||
<!-- This field uses a custom tree view rendered by the 'resume_one2many' widget.
|
||||
@@ -146,7 +146,7 @@
|
||||
<field name="inherit_id" ref="hr.res_users_view_form_profile" />
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//page[@name='public']" position="before">
|
||||
<page name="public" string="Resumé">
|
||||
<page name="public" string="Resume">
|
||||
<div class="row">
|
||||
<div class="o_hr_skills_group o_group_resume col-lg-7 d-flex">
|
||||
<!-- This field uses a custom tree view rendered by the 'resume_one2many' widget.
|
||||
@@ -184,7 +184,7 @@
|
||||
<field name="name">hr.resume.line.type.tree.view</field>
|
||||
<field name="model">hr.resume.line.type</field>
|
||||
<field name="arch" type="xml">
|
||||
<tree name="Resumé Line Types" editable="bottom">
|
||||
<tree name="Resume Line Types" editable="bottom">
|
||||
<field name="sequence" widget="handle"/>
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
@@ -192,14 +192,14 @@
|
||||
</record>
|
||||
|
||||
<record id="hr_resume_type_action" model="ir.actions.act_window">
|
||||
<field name="name">Resumé Line Types</field>
|
||||
<field name="name">Resume Line Types</field>
|
||||
<field name="res_model">hr.resume.line.type</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
</record>
|
||||
|
||||
<menuitem
|
||||
id="menu_human_resources_configuration_resume"
|
||||
name="Resumé"
|
||||
name="Resume"
|
||||
parent="hr.menu_human_resources_configuration"
|
||||
sequence="15"
|
||||
groups="base.group_no_one"/>
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
'name': 'Skills e-learning',
|
||||
'category': 'Hidden',
|
||||
'version': '1.0',
|
||||
'summary': 'Add completed courses to resumé of your employees',
|
||||
'summary': 'Add completed courses to resume of your employees',
|
||||
'description':
|
||||
"""
|
||||
E-learning and Skills for HR
|
||||
============================
|
||||
|
||||
This module add completed courses to resumé for employees.
|
||||
This module add completed courses to resume for employees.
|
||||
""",
|
||||
'depends': ['hr_skills', 'website_slides'],
|
||||
'data': [
|
||||
|
||||
@@ -5,13 +5,13 @@
|
||||
'name': 'Skills Certification',
|
||||
'category': 'Hidden',
|
||||
'version': '1.0',
|
||||
'summary': 'Add certification to resumé of your employees',
|
||||
'summary': 'Add certification to resume of your employees',
|
||||
'description':
|
||||
"""
|
||||
Certification and Skills for HR
|
||||
===============================
|
||||
|
||||
This module adds certification to resumé for employees.
|
||||
This module adds certification to resume for employees.
|
||||
""",
|
||||
'depends': ['hr_skills', 'survey'],
|
||||
'data': [
|
||||
|
||||
@@ -9,7 +9,7 @@ class SurveyUserInput(models.Model):
|
||||
_inherit = 'survey.user_input'
|
||||
|
||||
def _mark_done(self):
|
||||
""" Will add certification to employee's resumé if
|
||||
""" Will add certification to employee's resume if
|
||||
- The survey is a certification
|
||||
- The user is linked to an employee
|
||||
- The user succeeded the test """
|
||||
|
||||
Reference in New Issue
Block a user