From 9cd6dce9b45aa63a9ca48be60c533c1aefd3e921 Mon Sep 17 00:00:00 2001 From: ivan deng Date: Wed, 8 Apr 2020 19:55:18 +0800 Subject: [PATCH] fix mrp --- app_mrp_production_chart/__manifest__.py | 2 +- app_mrp_production_chart/models/mrp_production.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app_mrp_production_chart/__manifest__.py b/app_mrp_production_chart/__manifest__.py index 5cd827eb..54a97974 100644 --- a/app_mrp_production_chart/__manifest__.py +++ b/app_mrp_production_chart/__manifest__.py @@ -23,7 +23,7 @@ { 'name': 'MRP Production Chart Hierarchy, 生产单多层级结构图', - 'version': '12.19.11.29', + 'version': '12.20.04.08', 'author': 'Sunpop.cn', 'category': 'Base', 'website': 'https://www.sunpop.cn', diff --git a/app_mrp_production_chart/models/mrp_production.py b/app_mrp_production_chart/models/mrp_production.py index 4ed1a182..25af5326 100644 --- a/app_mrp_production_chart/models/mrp_production.py +++ b/app_mrp_production_chart/models/mrp_production.py @@ -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)