This commit is contained in:
ivan deng
2020-04-08 19:55:18 +08:00
parent dd2c6fb740
commit 9cd6dce9b4
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ class MrpProduction(models.Model):
child_all_count = fields.Integer('Indirect Surbordinates Count', store=False,
compute='_compute_child_all_count')
image_128 = fields.Image(related='product_id.image_128', readonly=True)
image_128 = fields.Binary(related='product_id.image_small', readonly=True)
product_name = fields.Char(related='product_id.name', readonly=True)
parent_path = fields.Char(index=True)