Instale ODOO con los scripts que figuran en el foro install_1.sh e install_2.sh en principio funcionó todo. Faltaba install con pip install pyafipws
configure el certificado de afip.. en Punto de venta aprieto el boton GET CONNECTION y todo OK.. el DUMMY TEST y da todo ok.. pero el resto da el siguiente error.. ya probe desinstalar e instalar como 5 veces.. jeje
si alguien pudiera darme una mano se agradecerá!
Traceback (most recent call last):
File "/opt/odoo/odoo-server/openerp/http.py", line 539, in _handle_exception
return super(JsonRequest, self)._handle_exception(exception)
File "/opt/odoo/odoo-server/openerp/http.py", line 576, in dispatch
result = self._call_function(**self.params)
File "/opt/odoo/odoo-server/openerp/http.py", line 312, in _call_function
return checked_call(self.db, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/service/model.py", line 118, in wrapper
return f(dbname, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/http.py", line 309, in checked_call
return self.endpoint(*a, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 805, in __call__
return self.method(*args, **kw)
File "/opt/odoo/odoo-server/openerp/http.py", line 405, in response_wrap
response = f(*args, **kw)
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 948, in call_button
action = self._call_kw(model, method, args, {})
File "/opt/odoo/odoo-server/addons/web/controllers/main.py", line 936, in _call_kw
return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 268, in wrapper
return old_api(self, *args, **kwargs)
File "/opt/odoo/odoo-server/openerp/api.py", line 399, in old_api
result = method(recs, *args, **kwargs)
File "/opt/odoo/custom/addons/l10n_ar_afipws_fe/models/afip_point_of_sale.py", line 89, in test_pyafipws_point_of_sales
ret = ws.ParamGetPtosVenta(sep=" ")
File "/usr/local/lib/python2.7/dist-packages/pyafipws/utils.py", line 150, in capturar_errores_wrapper
return func(self, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pyafipws/wsfev1.py", line 732, in ParamGetPtosVenta
Auth={'Token': self.Token, 'Sign': self.Sign, 'Cuit': self.Cuit},
File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 181, in <lambda>
return lambda *args, **kwargs: self.wsdl_call(attr, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 346, in wsdl_call
return self.wsdl_call_with_args(method, args, kwargs)
File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 370, in wsdl_call_with_args
response = self.call(method, *params)
File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 274, in call
detail)
SoapFault: soap:Client: Server was unable to read request. ---> There is an error in XML document (5, 1235).