Merge remote-tracking branch 'origin/feature/产品添加夹具型号信息' into feature/功能刀具新增字段
# Conflicts: # sf_manufacturing/models/product_template.py
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user