Merge branch refs/heads/develop into refs/heads/release/release_1.8

This commit is contained in:
禹翔辉
2024-06-25 09:47:34 +08:00
16 changed files with 482 additions and 402 deletions

View File

@@ -331,7 +331,7 @@ class ToolInventory(models.Model):
work_material = fields.Selection([('', ''), ('', '')], string='加工材料')
life_span = fields.Float('寿命(min)')
tool_groups_id = fields.Many2one('sf.tool.groups', string='刀具组')
tool_groups_id = fields.Many2one('sf.tool.groups', string='刀具组', required=True)
active = fields.Boolean('已归档', default=True)