From cdf4e52757168f9179c2ba7eee17536a68aac709 Mon Sep 17 00:00:00 2001 From: Juliana <juliana@le-filament.com> Date: Mon, 13 Dec 2021 10:34:37 +0100 Subject: [PATCH] [MIG]Change tracking attribute field --- __manifest__.py | 2 +- models/product_template.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/__manifest__.py b/__manifest__.py index b3421a0..f3ff03f 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 c3200fc..7ea8631 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) -- GitLab