sf修改设备table,品牌图片改成图片

This commit is contained in:
qihao.gong@jikimo.com
2023-08-29 15:47:58 +08:00
parent 5d30dae189
commit b7f2c4a000
3 changed files with 37 additions and 25 deletions

View File

@@ -35,7 +35,7 @@ class MachineBrand(models.Model):
code = fields.Char('编码')
name = fields.Char('名称')
tag_ids = fields.Many2many('sf.machine.brand.tags', 'rel_machine_brand_tags', string='类别')
image_brand = fields.Image("品牌图片")
image_brand = fields.Image("图片")
remark = fields.Text('备注')
active = fields.Boolean('有效', default=True)