mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-19 13:42:08 +02:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
17 lines
483 B
Python
17 lines
483 B
Python
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com)
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from odoo import fields, models
|
|
|
|
|
|
class ResCompany(models.Model):
|
|
_inherit = "res.company"
|
|
|
|
project_inherit_assignments = fields.Boolean(
|
|
string="Projects Inherit Assignments",
|
|
default=True,
|
|
)
|
|
project_limit_role_to_assignments = fields.Boolean(
|
|
string="Limit Project Role to Assignments",
|
|
default=False,
|
|
)
|