刀把类型新增bt50 修改同步品牌图片报错问题

This commit is contained in:
qihao.gong@jikimo.com
2023-08-23 14:37:02 +08:00
parent 10292df48d
commit b01a5a4216
3 changed files with 8 additions and 2 deletions

View File

@@ -256,7 +256,7 @@ class MachineToolType(models.Model):
name = fields.Char('名称')
brand_id = fields.Many2one('sf.machine.brand', string='品牌')
knife_type = fields.Selection(
[("BT40", "BT40"), ("BT30", "BT30")],
[("BT40", "BT40"), ("BT30", "BT30"), ("BT50", "BT50")],
default="", string="刀把类型")
number_of_knife_library = fields.Integer('刀库数量')
rotate_speed = fields.Integer('转速')