处理bug
This commit is contained in:
@@ -85,7 +85,7 @@ class MachineTool(models.Model):
|
||||
[("正常", "正常"), ("故障", "故障"), ("不可用", "不可用")],
|
||||
default='正常', string="机床状态")
|
||||
#0606新增字段
|
||||
machine_tool_picture = fields.Binary('机床图片')
|
||||
machine_tool_picture = fields.Binary('图片')
|
||||
heightened_way = fields.Selection([
|
||||
('sifudianji', '伺服电机驱动'),
|
||||
('youyagang', '油压缸驱动'),
|
||||
@@ -260,7 +260,7 @@ class MachineToolType(models.Model):
|
||||
rotate_speed = fields.Integer('转速')
|
||||
#0606新增字段
|
||||
created_user = fields.Many2one('res.users', string='创建人', default=lambda self: self.env.user)
|
||||
machine_tool_picture = fields.Binary('机床图片')
|
||||
machine_tool_picture = fields.Binary('图片')
|
||||
heightened_way = fields.Selection([
|
||||
('sifudianji', '伺服电机驱动'),
|
||||
('youyagang', '油压缸驱动'),
|
||||
|
||||
Reference in New Issue
Block a user