Initial commit: OCA Workflow Process packages (456 packages)

This commit is contained in:
Ernad Husremovic 2025-08-29 15:43:00 +02:00
commit d366e42934
18799 changed files with 1284507 additions and 0 deletions

View file

@ -0,0 +1,22 @@
# © 2014 Joël Grand-Guillaume (Camptocamp)
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).
from odoo import fields, models
class ProjectTask(models.Model):
_inherit = "project.task"
project_department_id = fields.Many2one(
related="project_id.department_id",
string="Project Department",
store=True,
readonly=True,
)
class ProjectProject(models.Model):
_inherit = "project.project"
department_id = fields.Many2one(
comodel_name="hr.department", string="Project Department"
)