[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).
This commit is contained in:
Luc De Meyer
2018-08-16 14:32:19 +02:00
committed by Alexis de Lattre
parent 5f9f95c17d
commit d23520d42e

View File

@@ -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