mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-20 17:22:01 +02:00
Move 124 sale modules to oca-sale, create oca-project with 56 project modules from oca-workflow-process
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
9eb7ae5807
commit
6094c218b2
2332 changed files with 125826 additions and 0 deletions
|
|
@ -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"
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue