From 09979cc3fa0b20c3afa810c0977cb87a3b9332fd 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 44e6b69..5d6ec3a 100644 --- a/intrastat_product/models/intrastat_product_declaration.py +++ b/intrastat_product/models/intrastat_product_declaration.py @@ -1089,12 +1089,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"