[base_vat] Basic VAT check when country specific check not defined in the module
Bug #876200 reported by
Jordi Ballester (www.avangard-eis.com)
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Addons (MOVED TO GITHUB) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
The module base_vat does not consider all VAT countries worldwide.
In case that a country specific validation is not defined in the base_vat module, only a basic country check should be performed, but otherwise should allow the VAT code to be introduced.
The basic check should be as per http://
The full identifier starts with an ISO 3166-1 alpha-2 country code (except for Greece which uses the non-standard country code EL) and then has between 5 and 12 characters. These 5 to 12 characters are numeric in most countries but in some countries they may contain letters.
Related branches
lp:~openerp-community/openobject-addons/6.0-bug-876200_base_vat_lpistone
Ready for review
for merging
into
lp:openobject-addons/6.0
- OpenERP Core Team: Pending requested
-
Diff: 14 lines (+2/-1)1 file modifiedbase_vat/base_vat.py (+2/-1)
To post a comment you must log in.
Hello Jordi Ballester,
I have checked your issue as per your specification but it's working normally at my end (ex., CY99999999L,
FRXX999999999). Supported countries currently include EU countries, and a few non-EU countries
such as Chile, Colombia, Mexico, Norway or Russia. For unsupported countries, only the country code will be
validated. If you enter wrong country code it is not allowed. Would you please provide example in which case you
faced the problem.
Thanks and waiting for your reply.