c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #04550
[Bug 387865] Re: Swiss VAT not defined in base_vat module
** Changed in: openobject-addons
Status: New => Triaged
--
Swiss VAT not defined in base_vat module
https://bugs.launchpad.net/bugs/387865
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Triaged
Bug description:
the module base_vat has a function to check the validity of the VAT number depending of the country. The default check function controls the followings statements : def default_vat_check(self, cn, vn):
# by default, a VAT number is valid if:
# it starts with 2 letters
# has more than 3 characters
The Swiss VAT has no letters and is only made by 6 numbers. We could had a new check_vat_ch to allow only 6 numbers, without characters in the first 2 places.