← Back to team overview

openerp-india team mailing list archive

[Bug 940870] Re: base_vat needs module vatnumber

 

Amit
what  I am saying is 
* that it is possible to enable VIES checking without having the vatnumber module installed - no foeedback is given if it is not available
* the VAT check (button) runs the VIES check and falls back to digit computation WITHOUT notice , if the vatnumber check fails. 

IMHO both issues are not a correct behavior as the companies are
required to us VIES check.

technically it is "working" but it does not doe what is legaly required.
(at least here)

BTW we have problems using vatnumber on hosted servers - it simply does not work yet (not your problem)
but this causes a fallback without notice and still marks the VAT as checked - this is the real problem

for this reason I suggest to add a date field which is set if VIES check
is successful.

This is important because a few month later the company (vat number) may not exist or is not valid any more and would not pass the VIES check any more.
probably a regular (monthly/quarterly) check of all at numbers would be useful. 

>>> vatnumber.check_vies('BE0897290877')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/pymodules/python2.6/vatnumber/__init__.py", line 1175, in check_vies
    client = Client(VIES_URL)
  File "/usr/lib/pymodules/python2.6/suds/client.py", line 111, in __init__
    self.wsdl = reader.open(url)
  File "/usr/lib/pymodules/python2.6/suds/reader.py", line 136, in open
    d = self.fn(url, self.options)
  File "/usr/lib/pymodules/python2.6/suds/wsdl.py", line 136, in __init__
    d = reader.open(url)
  File "/usr/lib/pymodules/python2.6/suds/reader.py", line 73, in open
    d = self.download(url)
  File "/usr/lib/pymodules/python2.6/suds/reader.py", line 88, in download
    fp = self.options.transport.open(Request(url))
  File "/usr/lib/pymodules/python2.6/suds/transport/https.py", line 60, in open
    return  HttpTransport.open(self, request)
  File "/usr/lib/pymodules/python2.6/suds/transport/http.py", line 64, in open
    raise TransportError(str(e), e.code, e.fp)
suds.transport.TransportError: HTTP Error 405: Method Not Allowed


** Changed in: openobject-addons
       Status: Incomplete => New

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/940870

Title:
  base_vat needs module vatnumber

Status in OpenERP Addons (modules):
  New

Bug description:
  it should be only possible to activate VIES check  if module vatnumber
  is installed - else error message

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/940870/+subscriptions


References