tryton-ar / recover_invoice_ar

GNU General Public License v3.0
1 stars 2 forks source link

error when click button ask afip #4

Closed lukio closed 6 years ago

lukio commented 6 years ago
File "/pysimplesoap/client.py", line 469, in wsdl_parse
    xml = fetch(url)
  File "/pysimplesoap/client.py", line 465, in fetch
    warnings.warn("Cannot write file", filename)
TypeError: issubclass() arg 1 must be a class

recover_invoice_error_pysimplesoap

lukio commented 6 years ago

Set the cache dir when called to Conectar method from pyafipws. The problem was that pyafipws/cache dir it's not writable from the user that executes the trytond daemon.

lukio commented 6 years ago

Fixes with commit: 7be450abff63ed5273c001cd74a165238c9d5c7c

set cache dir from account_invoice_ar when Connect to WSDL afip