diff --git a/__manifest__.py b/__manifest__.py index b3421a03561c4fc0d1a662ec709a7d9104dd45eb..f3ff03fb1878eb36ccdd64a1632a0e3a3e3d39b7 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -10,6 +10,6 @@ 'data': [ 'views/res_config_settings_view.xml', 'views/sale_view.xml', - 'views/product_view.xml', + # 'views/product_view.xml', ], } diff --git a/models/product_template.py b/models/product_template.py index c3200fcc9ae19f10784c6b8edd56610610935449..7ea8631ba6c7ad5934cdadefaee567520a50b778 100644 --- a/models/product_template.py +++ b/models/product_template.py @@ -8,6 +8,6 @@ class ProductTemplate(models.Model): _inherit = "product.template" project_linked_stage_id = fields.Many2one('project.task.type', string='Etape', ondelete='restrict', - track_visibility='onchange', index=True, + tracking=True, index=True, group_expand='_read_group_stage_ids', domain="[('project_ids', '=', project_id)]", copy=False)