修复sf同步问题
This commit is contained in:
@@ -9,10 +9,8 @@ _logger = logging.getLogger(__name__)
|
||||
class MachineBrandTags(models.Model):
|
||||
_name = 'mrs.machine.brand.tags'
|
||||
_description = '标签'
|
||||
brand_id = fields.Many2one('mrs.machine.brand', '品牌')
|
||||
name = fields.Char('名称', size=50)
|
||||
color = fields.Integer('颜色', default=0)
|
||||
active = fields.Boolean('有效', default=True)
|
||||
|
||||
|
||||
class MachineControlSystem(models.Model):
|
||||
@@ -108,7 +106,7 @@ class MachineToolType(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="控制系统")
|
||||
active = fields.Boolean('有效', default=True)
|
||||
code = fields.Char('编码')
|
||||
|
||||
Reference in New Issue
Block a user