c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #13313
[Bug 387865] Re: Swiss VAT not defined in base_vat module
Hello,
I looking for a piece of law that defined the swiss vat format number. I
have phone the VAT office but I did not get something useful. If someone
has good data I will fix it till the the bug will be in state won't fix
Regards
Nicolas
** Changed in: openobject-addons
Status: Confirmed => Invalid
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/387865
Title:
Swiss VAT not defined in base_vat module
Status in OpenERP Modules (addons):
Invalid
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.