14 lines
388 B
Python
14 lines
388 B
Python
from odoo import fields, models
|
|
|
|
|
|
class RepairMaterial(models.Model):
|
|
_name = "repair.material"
|
|
_description = "Repair Material"
|
|
_order = "name"
|
|
|
|
name = fields.Char(required=True)
|
|
default_code = fields.Char(string="Code")
|
|
uom_name = fields.Char(string="UoM", default="pcs")
|
|
standard_cost = fields.Float(string="Cost")
|
|
active = fields.Boolean(default=True)
|