mirror of
https://github.com/guohuadeng/app-odoo.git
synced 2025-02-23 04:11:36 +02:00
fix mrp
This commit is contained in:
@@ -23,7 +23,7 @@
|
|||||||
|
|
||||||
{
|
{
|
||||||
'name': 'MRP Production Chart Hierarchy, 生产单多层级结构图',
|
'name': 'MRP Production Chart Hierarchy, 生产单多层级结构图',
|
||||||
'version': '12.19.11.29',
|
'version': '12.20.04.08',
|
||||||
'author': 'Sunpop.cn',
|
'author': 'Sunpop.cn',
|
||||||
'category': 'Base',
|
'category': 'Base',
|
||||||
'website': 'https://www.sunpop.cn',
|
'website': 'https://www.sunpop.cn',
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class MrpProduction(models.Model):
|
|||||||
child_all_count = fields.Integer('Indirect Surbordinates Count', store=False,
|
child_all_count = fields.Integer('Indirect Surbordinates Count', store=False,
|
||||||
compute='_compute_child_all_count')
|
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)
|
product_name = fields.Char(related='product_id.name', readonly=True)
|
||||||
parent_path = fields.Char(index=True)
|
parent_path = fields.Char(index=True)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user