From 3d4e31125eb75ebe5f420f7ff0c8ed0e949c2888 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Mon, 16 May 2022 12:14:02 +0200 Subject: [PATCH] [14.0]fix stack trace when running module upgrade on 14.0.1.6.0 --- intrastat_product/models/intrastat_product_declaration.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/intrastat_product/models/intrastat_product_declaration.py b/intrastat_product/models/intrastat_product_declaration.py index ca066ec..43839ad 100644 --- a/intrastat_product/models/intrastat_product_declaration.py +++ b/intrastat_product/models/intrastat_product_declaration.py @@ -1085,12 +1085,10 @@ class IntrastatProductComputationLine(models.Model): ) src_dest_country_code = fields.Char( string="Country Code", - compute="_compute_src_dest_country_code", - store=True, required=True, readonly=False, help="2 digit code of country of origin/destination.\n" - "Specify 'XI' for UK Northern Ireland and 'XU' for rest of the UK.", + "Specify 'XI' for UK Northern Ireland.", ) product_id = fields.Many2one( "product.product", related="invoice_line_id.product_id"