bemade_fsm: make project.task.allow_billable store=True to un-break Odoo tests.

This commit is contained in:
Marc Durepos 2023-07-26 09:23:43 -04:00
parent d9595f028c
commit 0a7736e55a

View file

@ -44,7 +44,8 @@ class Task(models.Model):
# Override related field to make it return false if this is an FSM subtask
allow_billable = fields.Boolean(string="Can be billed",
related=False,
compute="_compute_allow_billable", )
compute="_compute_allow_billable",
store=True)
visit_id = fields.Many2one(comodel_name='bemade_fsm.visit')