智能工厂-制造模块基础设置新增托盘
This commit is contained in:
@@ -68,6 +68,13 @@ class MrsProcessingOrder(models.Model):
|
||||
production_process_id = fields.Many2one('mrs.production.process', string="表面工艺")
|
||||
|
||||
|
||||
class ProductTemplate(models.Model):
|
||||
_inherit = 'product.template'
|
||||
_description = '产品'
|
||||
class Tray(models.Model):
|
||||
_name = 'sf.tray'
|
||||
_description = '托盘'
|
||||
|
||||
code = fields.Char('编码')
|
||||
name = fields.Char('名称')
|
||||
state = fields.Selection(
|
||||
[("空闲", "空闲"), ("占用", "占用"), ("报损", "报损")],
|
||||
default=" ", string="状态")
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
Reference in New Issue
Block a user