diff --git a/app_mrp_workcenter_zchart/models/mrp_workcenter.py b/app_mrp_workcenter_zchart/models/mrp_workcenter.py index 68087c5f..da0f0da3 100644 --- a/app_mrp_workcenter_zchart/models/mrp_workcenter.py +++ b/app_mrp_workcenter_zchart/models/mrp_workcenter.py @@ -22,7 +22,7 @@ class MrpWorkCenter(models.Model): child_all_count = fields.Integer( 'Indirect Surbordinates Count', compute='_compute_child_all_count', store=False) - level = fields.Integer('Level', compute='_compute_level', inverse=False, readonly=True, store=True) + level = fields.Integer('Level', compute='_compute_level', inverse=False, readonly=True, default='1', store=True) @api.depends('child_ids.child_all_count') def _compute_child_all_count(self): diff --git a/app_odoo_customize/__manifest__.py b/app_odoo_customize/__manifest__.py index 85b21ac6..421f04bc 100644 --- a/app_odoo_customize/__manifest__.py +++ b/app_odoo_customize/__manifest__.py @@ -23,7 +23,7 @@ { 'name': 'odoo 14,13 Customize OEM(Boost, Data reset)', - 'version': '13.21.07.27', + 'version': '13.21.08.04', 'author': 'Sunpop.cn', 'category': 'Productivity', 'website': 'https://www.sunpop.cn', @@ -79,6 +79,7 @@ 36. Add refresh translate for multi module. 37. Easy noupdate manage for External Identifiers(xml_id) 38. Add Draggable Dialog enable. + 39. Only erp manager can see debug menu.. This module can help to white label the Odoo. Also helpful for training and support for your odoo end-user. @@ -124,6 +125,7 @@ 36. 可为多个模块强制更新翻译 37. noupdate字段的快速管理,主要针对 xml_id 38. 对话框可拖拽 + 39. 只有系统管理员可以操作快速debug """, 'images': ['static/description/banner.gif'], 'depends': [ diff --git a/app_odoo_customize/static/description/index.html b/app_odoo_customize/static/description/index.html index 2b506db0..c416ccb9 100644 --- a/app_odoo_customize/static/description/index.html +++ b/app_odoo_customize/static/description/index.html @@ -47,7 +47,8 @@
39. Only erp manager can see debug menu..
38. Add Draggable Dialog enable.
37. Easy noupdate manage for External Identifiers(xml_id).