加工精度同步

This commit is contained in:
guanhuan
2024-10-22 15:35:34 +08:00
parent 00a04af94f
commit 7157ea1587
3 changed files with 5 additions and 5 deletions

View File

@@ -400,5 +400,5 @@ class MachiningAccuracy(models.Model):
_name = 'sf.machining.accuracy'
_description = '加工精度'
name = fields.Char('精度名称', index=True)
discount = fields.Float('折扣')
sync_id = fields.Char('同步ID')
standard_tolerance = fields.Char(string="标准公差")
sync_id = fields.Char('同步ID')

View File

@@ -620,9 +620,9 @@
<field name="name">tree.sf.machining.accuracy</field>
<field name="model">sf.machining.accuracy</field>
<field name="arch" type="xml">
<tree string="加工精度" create="0" edit="0" delete="1">
<tree string="加工精度" create="0" edit="0" delete="0">
<field name="name"/>
<field name="discount"/>
<field name="standard_tolerance"/>
</tree>
</field>
</record>