diff --git a/ext/custom-addons/dp_custom/models/product.py b/ext/custom-addons/dp_custom/models/product.py index f2b98324..e4da2792 100644 --- a/ext/custom-addons/dp_custom/models/product.py +++ b/ext/custom-addons/dp_custom/models/product.py @@ -54,7 +54,7 @@ class ReportIntrastatCode(models.Model): class ProductTemplate(models.Model): _inherit = "product.template" - intrastat_id = fields.Many2one('report.intrastat.code', string='Intrastat Code') + intrastat_id = fields.Many2one('report.intrastat.code', string='Intrastat Code',track_visibility='onchange') class ProductXCategory(models.Model): _name = 'product.xcategory'