c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #22998
[Bug 771664] Re: Swiss VAT verification not implemented
Hello Damien,
Its fixed in https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-bug-771664-mtr branch.
Revision ID: mtr@mtr-20110429070623-qvalswfhwqlr6m50
Revision no: 4653
It will be merge soon with trunk addons.
Thanks for reporting.
Thanks,
mtr
** Changed in: openobject-addons
Status: In Progress => Fix Committed
--
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/771664
Title:
Swiss VAT verification not implemented
Status in OpenERP Modules (addons):
Fix Committed
Bug description:
Good morning,
I found the following bug:
1) Steps to reproduce the issue you have observed
Create a partner
Under the accounting tab, enter a Swiss VAT Number (ex: CHE-123.456.789 or CHE123456789 or CH123456789)
Save the partner
2) The result you observed
The following error appear:
The Vat does not seems to be correct. You should have entered something like this Country Code + Vat Number
If you debug the code, you notes that the bug come from
addons/base_vat/base_vat.py, in the check_vat method: it cannot find
the check_vat_ch attribute
3) The result you expected
There would be a method who check the Swiss VAT N°. You can find the
legal statment under this page:
http://www.estv.admin.ch/mwst/themen/00154/00589/01107/index.html
4) The platform your are using
Server Ubuntu 10.04
Windows Vista Professionnal
5) The OpenERP version you are using
OpenERP Client & Server 6.0.2
References