Welcome!

This community is for professionals and enthusiasts of our products and services. Share and discuss the best content and new marketing ideas, build your professional profile and become a better marketer together.

0

Error en Factura Electronica

por
Andrés
en 22/8/15 01:14 1.279 vistas

Hola, cualquier proceso que quiero hacer con la factura electronica, ya sea la factura en si como las consultas de ultimos numeros en el PV etc me tiran el siguiente error. Probe con el docker AIO y el avanzado. Con el AIO, si uso la empresa de ejemplo con mis certificados puedo emitir pero cuando creo una base de datos nueva no logro hacerlo. Desde ya muchas gracias.

Ubuntu Server 14.04 - Instalacion con Docker tanto AIO como avanzado

 

Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 948, in call_button action = self._call_kw(model, method, args, {}) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 936, in _call_kw return getattr(request.registry.get(model), method)(request.cr, request.uid, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 363, in old_api result = method(recs, *args, **kwargs) File "/opt/odoo/extra-addons/l10n_ar_afipws_fe/models/afip_point_of_sale.py", line 78, 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 826, in ParamGetPtosVenta Auth={'Token': self.Token, 'Sign': self.Sign, 'Cuit': self.Cuit}, File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 147, in <lambda> return lambda *args, **kwargs: self.wsdl_call(attr,*args,**kwargs) File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 342, in wsdl_call response = self.call(method, *params) File "/usr/local/lib/python2.7/dist-packages/pysimplesoap/client.py", line 220, in call raise SoapFault(unicode(response.faultcode), unicode(response.faultstring)) SoapFault: soap:Client: Server was unable to read request. ---> There is an error in XML document (5, 1035). ---> Input string was not in a correct format.


1
Andrés
En 23/8/15 06:44

Creo que lo pude solucionar, para el que le sirva, cuando configuramos la compañia (modificadion de YourCompany) en el parter tambien tenemos que cambiar el CUIT, agregarlo mejor dicho.

 

Slds

  • Marcar

me da este error simplemente en Puntos de venta al apretar GET POINTS OF SALE ...

Gabriel Giani
de 26/4/16 21:12

0

ADHOC

--ADHOC--
1769
| 5 1 4
Rosario, Argentina
--ADHOC--

Adhoc es parte de una red de profesionales establecidos en Rosario. Implementamos y desarrollamos Odoo Software perfectamente integrado para Argentina.

Somos el primer Gold  Partner en Argentina a partir de nuestra amplia trayectoria en Odoo, con más de 100 clientes soportados a diario y 6 años llevando adelante proyectos de implementación de ERP en nuestro país, pertenecemos a la máxima categoría de Partner otorgada por Odoo Bélgica, lo cual garantiza la calidad de nuestros procesos y la confiabilidad de nuestros servicios y soluciones.

Desde Adhoc vimos la necesidad de compartir con la comunidad los recursos de los cuales hacemos uso para implementar Odoo/OpenERP en Argentina.

ADHOC
En 24/8/15 12:06

Genial Andres!

  • Marcar

Por nada. es mas gracias por el badge. Nuevamente tengo otro error jeje En el dump que pego a continuación, me tira el error cuando trato de validar una nota de credito electronica. Por lo que leo, la lista de tipo de comprobantes no esta indicada con enteros sino con strings por lo que da el error. Hay alguna forma de solucionarlo? Saludos! Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 537, in _handle_exception return super(JsonRequest, self)._handle_exception(exception) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 574, in dispatch result = self._call_function(**self.params) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 310, in _call_function return checked_call(self.db, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 307, in checked_call return self.endpoint(*a, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 803, in __call__ return self.method(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 403, in response_wrap response = f(*args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/addons/web/controllers/main.py", line 955, in exec_workflow return request.session.exec_workflow(model, id, signal) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 1111, in exec_workflow r = self.proxy('object').exec_workflow(self.db, self.uid, self.password, model, signal, id) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 879, in proxy_method result = dispatch_rpc(self.service_name, method, args) File "/usr/lib/python2.7/dist-packages/openerp/http.py", line 115, in dispatch_rpc result = dispatch(method, params) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 37, in dispatch res = fn(db, uid, *params) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 113, in wrapper return f(dbname, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 183, in exec_workflow return exec_workflow_cr(cr, uid, obj, signal, *args) File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 177, in exec_workflow_cr return execute_cr(cr, uid, obj, 'signal_workflow', [res_id], signal)[res_id] File "/usr/lib/python2.7/dist-packages/openerp/service/model.py", line 159, in execute_cr return getattr(object, method)(cr, uid, *args, **kw) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 241, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/models.py", line 3560, in signal_workflow result[res_id] = workflow.trg_validate(uid, self._name, res_id, signal, cr) File "/usr/lib/python2.7/dist-packages/openerp/workflow/__init__.py", line 85, in trg_validate return WorkflowService.new(cr, uid, res_type, res_id).validate(signal) File "/usr/lib/python2.7/dist-packages/openerp/workflow/service.py", line 91, in validate res2 = wi.validate(signal) File "/usr/lib/python2.7/dist-packages/openerp/workflow/instance.py", line 75, in validate wi.process(signal=signal, force_running=force_running, stack=stack) File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 120, in process ok = self._split_test(activity['split_mode'], signal, stack) File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 248, in _split_test self._join_test(t[0], t[1], stack) File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 257, in _join_test WorkflowItem.create(self.session, self.record, activity, inst_id, stack=stack) File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 95, in create workflow_item.process(stack=stack) File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 116, in process if not self._execute(activity, stack): File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 162, in _execute returned_action = self.wkf_expr_execute(activity) File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 313, in wkf_expr_execute return self.wkf_expr_eval_expr(activity['action']) File "/usr/lib/python2.7/dist-packages/openerp/workflow/workitem.py", line 291, in wkf_expr_eval_expr result = eval(line, env, nocopy=True) File "/usr/lib/python2.7/dist-packages/openerp/tools/safe_eval.py", line 314, in safe_eval return eval(c, globals_dict, locals_dict) File "", line 1, in File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws_fe/models/invoice.py", line 164, in action_number self.do_pyafipws_request_cae() File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 239, in wrapper return new_api(self, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws_fe/models/invoice.py", line 363, in do_pyafipws_request_cae CbteAsoc['Tipo'], ValueError: "list indices must be integers, not str" while evaluating u'action_number()'

Andrés
de 27/8/15 05:27

Mantener informado

Acerca de esta comunidad

Esta comunidad es para profesionales y entusiastas de nuestros productos y servicios, compartir los mejores contenidos y nuevas ideas de marketing, construir su perfil profesional y mejorar el mercado para todos. Lea las directrices

Herramientas de las preguntas

3 seguidor(es)

Estadísticas

Preguntado: 22/8/15 01:14
Visto: 1279 veces
Última actualización: 14/4/18 12:41