加工精度同步

This commit is contained in:
guanhuan
2024-10-17 17:20:51 +08:00
parent 0faedd35d7
commit cc40d479a9
4 changed files with 47 additions and 0 deletions

View File

@@ -187,3 +187,11 @@ 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')

View File

@@ -614,4 +614,6 @@
<field name="res_model">sf.machine.control_system</field>
<field name="view_mode">tree</field>
</record>
#------------------加工精度------------------
</odoo>