Add work types and in-form technician slot suggestions

This commit is contained in:
Ruslan Bakiev
2026-02-13 18:36:40 +07:00
parent 2b7a9457dd
commit 8dd533f89a
21 changed files with 424 additions and 34 deletions

View File

@@ -1 +1,2 @@
from . import fsm_zone
from . import work_type

View File

@@ -0,0 +1,12 @@
from odoo import fields, models
class RepairWorkType(models.Model):
_name = "repair.work.type"
_description = "Repair Work Type"
_order = "name"
_inherit = ["mail.thread", "mail.activity.mixin"]
name = fields.Char(required=True, tracking=True)
duration_min = fields.Integer(default=120, required=True, tracking=True)
active = fields.Boolean(default=True, tracking=True)