mirror of
https://github.com/OCA/intrastat-extrastat.git
synced 2025-02-16 17:13:41 +02:00
[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:
committed by
Alexis de Lattre
parent
5f9f95c17d
commit
d23520d42e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user