changes
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
# Copyright 2026 Nexa Systems Inc.
|
||||
# License OPL-1 (Odoo Proprietary License v1.0)
|
||||
|
||||
from odoo import fields, models
|
||||
|
||||
|
||||
class FpMaintenanceLabel(models.Model):
|
||||
"""Simple tag model for equipment labels."""
|
||||
_name = 'fp.maintenance.label'
|
||||
_description = 'Fusion Plating — Equipment Label'
|
||||
_order = 'name'
|
||||
|
||||
name = fields.Char(string='Name', required=True)
|
||||
color = fields.Integer(string='Colour')
|
||||
|
||||
_sql_constraints = [
|
||||
('name_uniq', 'unique(name)', 'Label name must be unique.'),
|
||||
]
|
||||
Reference in New Issue
Block a user