Files
pms/pms_project/models/pms_property.py
2022-04-11 09:40:13 -05:00

12 lines
332 B
Python

# Copyright (C) 2022 Open Source Integrators
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
from odoo import fields, models
class PmsProperty(models.Model):
_inherit = "pms.property"
task_ids = fields.Many2many(
"project.task", "task_property_rel", "property_id", "task_id", string="Tasks"
)