← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 771664] Re: Swiss VAT verification not implemented

 

** Changed in: openobject-addons
       Status: Confirmed => In Progress

-- 
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):
  In Progress

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