19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:31:00 +01:00
parent a1137a1456
commit e1d89e11e3
2789 changed files with 1093187 additions and 605897 deletions

View file

@ -0,0 +1,24 @@
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models
class HrJobSkill(models.Model):
_name = "hr.job.skill"
_inherit = "hr.individual.skill.mixin"
_description = "Skills for job positions"
_order = "skill_type_id, skill_level_id desc"
_rec_name = "skill_id"
job_id = fields.Many2one(
comodel_name="hr.job",
required=True,
index=True,
ondelete="cascade",
)
def _linked_field_name(self):
return "job_id"
def _can_edit_certification_validity_period(self):
return False