Buenas Despues de actualizar los modulos no puedo validar facturas, este es el error
Odoo
Odoo Server Error
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 118, 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 250, in wrapper return old_api(self, *args, **kwargs) File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 372, in old_api result = method(recs, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws_fe/models/afip_point_of_sale.py", line 44, in check_document_local_remote_number j_document_class.get_pyafipws_last_invoice()['result']) + 1 File "/usr/lib/python2.7/dist-packages/openerp/api.py", line 248, in wrapper return new_api(self, *args, **kwargs) File "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws_fe/models/journal_afip_document_class.py", line 88, in get_pyafipws_last_invoice document_class, point_of_sale.number) 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 322, in CompUltimoAutorizado self.__analizar_errores(result) File "/usr/local/lib/python2.7/dist-packages/pyafipws/wsfev1.py", line 111, in __analizar_errores self.Eventos = ['%s: %s' % (evt['code'], evt['msg']) for evt in events] KeyError: 'code'
prueba de conexion - punto de venta - tipo de documentos - tipo de monedas. Todo funciona. No funciona cuando pongo comprobar numeros locales y remotos, por favor ayudenme muchas gracias
Nicolás, a mi me esta ocurriendo exactamente lo mismo q describis. Pudiste solucionarlo ? Le escribí un mail al desarrollador del módulo del ws a ver si me orienta. Si no lo solucionaste te aviso. Saludos
Hola Leo. No la verdad que no pude. No tengo idea tampoco a que se debe. Avisame por favor si conseguis una solucion. Muchas gracias.