Merge remote-tracking branch 'origin/feature/产品添加夹具型号信息' into feature/功能刀具新增字段

# Conflicts:
#	sf_manufacturing/models/product_template.py
This commit is contained in:
yuxianghui
2024-01-09 10:33:16 +08:00
9 changed files with 254 additions and 42 deletions

View File

@@ -241,3 +241,12 @@ class MaintenanceStandardImage(models.Model):
else:
record['image'] = ""
return records
class ToolGroups(models.Model):
_name = 'sf.tool.groups'
_description = '刀具组'
name = fields.Char('名称')
equipment_ids = fields.Many2many('maintenance.equipment', 'ref_maintenance_equipment', string='机台号')
remark = fields.Char('备注', size=50)