chore: import enterprise addons 19.0 bulk snapshot

This commit is contained in:
1b-agent committed 2026-09-16 10:13:08 +00:00
commit ca4af030d3
39951 files changed
+15570005

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import planning_analysis_report
@@ -0,0 +1,20 @@
# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from odoo import fields, models, api
class PlanningAnalysisReport(models.Model):
_inherit = "planning.analysis.report"
# Not using a related as we want to avoid having a depends.
employee_skill_ids = fields.One2many('hr.employee.skill', string='Skills', compute='_compute_employee_skill_ids',
search='_search_employee_skill_ids')
def _compute_employee_skill_ids(self):
for slot in self:
slot.employee_skill_ids = slot.employee_id.employee_skill_ids
@api.model
def _search_employee_skill_ids(self, operator, value):
return [('employee_id.employee_skill_ids', operator, value)]