From 567227f88ff1e6c5dc82933faece7822fb2ccf65 Mon Sep 17 00:00:00 2001 From: Andreas Osim Date: Mon, 10 Oct 2022 09:23:14 +0200 Subject: [PATCH] track intrastat_id @ product --- ext/custom-addons/dp_custom/models/product.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'