From c1fb1e030189debf02769855e2fdddf825d4bbcc Mon Sep 17 00:00:00 2001 From: Holger Brunn Date: Thu, 2 Jun 2016 15:31:29 +0200 Subject: [PATCH] another wrong variable name --- intrastat_product/models/intrastat_product_declaration.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intrastat_product/models/intrastat_product_declaration.py b/intrastat_product/models/intrastat_product_declaration.py index f6b8972..a6789a1 100644 --- a/intrastat_product/models/intrastat_product_declaration.py +++ b/intrastat_product/models/intrastat_product_declaration.py @@ -203,7 +203,7 @@ class IntrastatProductDeclaration(models.Model): for this in self: if this.company_id: this.company_country_code = \ - self.company_id.country_id.code.lower() + this.company_id.country_id.code.lower() @api.multi @api.depends('year', 'month')