更新sf
This commit is contained in:
@@ -16,11 +16,11 @@ class MachineBrandTags(models.Model):
|
||||
|
||||
|
||||
class MachineControlSystem(models.Model):
|
||||
_name = 'mrs.machine_tool.type.control_system'
|
||||
_name = 'mrs.machine.control_system'
|
||||
_description = '控制系统'
|
||||
code = fields.Char('编码')
|
||||
|
||||
code = fields.Char('编码', size=10)
|
||||
name = fields.Char('名称', size=10)
|
||||
# type_id = fields.Many2one('mrs.machine_tool.type')
|
||||
brand_id = fields.Many2one('mrs.machine.brand', '品牌')
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
@@ -60,7 +60,7 @@ class MachineTool(models.Model):
|
||||
c_axis = fields.Integer('C轴')
|
||||
remark = fields.Text('备注')
|
||||
precision = fields.Float('加工精度')
|
||||
control_system_id = fields.Many2one('mrs.machine_tool.type.control_system',
|
||||
control_system_id = fields.Many2one('mrs.machine.control_system',
|
||||
string="控制系统")
|
||||
# 多个机床型号对应一个机床
|
||||
type_id = fields.Many2one('mrs.machine_tool.type', '型号',
|
||||
|
||||
Reference in New Issue
Block a user