2026-08-30 00:48:25 -04:00

20 lines
574 B
Python

from odoo import fields, models
from .project import WORK_CATEGORY_SELECTION
class AccountAnalyticLine(models.Model):
_inherit = "account.analytic.line"
mcs_work_category = fields.Selection(WORK_CATEGORY_SELECTION, string="Work Category")
mcs_billable_classification = fields.Selection(
[
("billable", "Billable"),
("non_billable", "Non-Billable"),
("internal", "Internal"),
],
string="Billable Classification",
default="billable",
)
mcs_is_rework = fields.Boolean(string="Rework")