提交同步代码
This commit is contained in:
@@ -32,7 +32,6 @@ class MachineBrand(models.Model):
|
||||
tag_ids = fields.Many2many('mrs.machine.brand.tags', 'rel_machine_brand_tags', string='类别')
|
||||
image_brand = fields.Image("品牌图片")
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
code = fields.Char('编码')
|
||||
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ class MrsProductionMaterials(models.Model):
|
||||
partner_ids = fields.Many2many('res.partner', 'materials_ids', '加工工厂')
|
||||
materials_model_ids = fields.One2many('mrs.materials.model', 'materials_id', '材料型号')
|
||||
materials_no = fields.Char("编码")
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
|
||||
# 材料型号
|
||||
@@ -28,6 +29,7 @@ class MrsMaterialModel(models.Model):
|
||||
materials_id = fields.Many2one('mrs.production.materials', "材料名")
|
||||
materials_num = fields.Char("编码号")
|
||||
material_no = fields.Char("编码")
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
|
||||
# 工艺 编码,名称,备注
|
||||
@@ -37,9 +39,10 @@ class MrsProductionProcess(models.Model):
|
||||
name = fields.Char('表面工艺')
|
||||
remark = fields.Text("备注")
|
||||
processing_technology_ids = fields.Many2many('mrs.processing.technology', 'mrs_associated_processes',
|
||||
index=True)
|
||||
index=True)
|
||||
partner_process_ids = fields.Many2many('res.partner', 'process_ids', '加工工厂')
|
||||
process_encode = fields.Char("编码")
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
|
||||
class MrsProcessingTechnology(models.Model):
|
||||
@@ -52,6 +55,7 @@ class MrsProcessingTechnology(models.Model):
|
||||
process_encode = fields.Char("编码")
|
||||
production_process_ids = fields.Many2many('mrs.production.process', 'mrs_associated_processes',
|
||||
index=True)
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
|
||||
Reference in New Issue
Block a user