加工精度

This commit is contained in:
guanhuan
2024-10-18 09:30:20 +08:00
parent cc40d479a9
commit 00a04af94f
5 changed files with 36 additions and 9 deletions

View File

@@ -394,3 +394,11 @@ class MachineToolCategory(models.Model):
active = fields.Boolean('有效', default=True)
category = fields.Selection([('shukong', u'数控'), ('putong', u'普通')], string=u'机床类别',
default='shukong')
class MachiningAccuracy(models.Model):
_name = 'sf.machining.accuracy'
_description = '加工精度'
name = fields.Char('精度名称', index=True)
discount = fields.Float('折扣')
sync_id = fields.Char('同步ID')

View File

@@ -187,11 +187,3 @@ class MrsMaterialApply(models.Model):
name = fields.Char('名称', default=True)
active = fields.Boolean('有效', default=True)
class MachiningAccuracy(models.Model):
_name = 'sf.machining.accuracy'
_description = '加工精度'
name = fields.Char('精度名称', index=True)
discount = fields.Float('折扣')
sync_id = fields.Char('同步ID')