Add initial Odoo FSM modules and deployment make targets
This commit is contained in:
13
odoo/addons/dsrpt_repair_materials/models/material.py
Normal file
13
odoo/addons/dsrpt_repair_materials/models/material.py
Normal file
@@ -0,0 +1,13 @@
|
||||
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)
|
||||
Reference in New Issue
Block a user