From d23520d42e29c2701e4159d033845b2300ee786d Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Thu, 16 Aug 2018 14:32:19 +0200 Subject: [PATCH] [10.0][FIX] intrastat_common - remove check on EUR EU countries are subject to Intrastat, also EU countries outside of the EU zone. As a consequence the check on company currency == EUR must be removed from this module (the right place are the localization modules). --- intrastat_base/models/intrastat_common.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/intrastat_base/models/intrastat_common.py b/intrastat_base/models/intrastat_common.py index ba508de..45b9399 100644 --- a/intrastat_base/models/intrastat_common.py +++ b/intrastat_base/models/intrastat_common.py @@ -36,11 +36,6 @@ class IntrastatCommon(models.AbstractModel): raise UserError( _("The country is not set on the company '%s'.") % company.name) - if company.currency_id.name != 'EUR': - raise UserError( - _("The company currency must be 'EUR', but is currently " - "'%s'.") - % company.currency_id.name) return True @api.multi