mirror of
https://gitlab.com/flectra-community/mis-builder.git
synced 2024-11-16 11:12:07 +00:00
19 lines
515 B
Python
19 lines
515 B
Python
# Copyright 2017 ACSONE SA/NV
|
|
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).
|
|
|
|
from flectra import fields, models
|
|
|
|
|
|
class MisBudget(models.Model):
|
|
|
|
_name = "mis.budget"
|
|
_description = "MIS Budget by KPI"
|
|
_inherit = ["mis.budget.abstract", "mail.thread"]
|
|
|
|
report_id = fields.Many2one(
|
|
comodel_name="mis.report", string="MIS Report Template", required=True
|
|
)
|
|
item_ids = fields.One2many(
|
|
comodel_name="mis.budget.item", inverse_name="budget_id", copy=True
|
|
)
|