Foro de Odoo Argentina


¡BIENVENIDO AL FORO DE ODOO ARGENTINA!

BRINDAMOS UN ESPACIO A LA COMUNIDAD ARGENTINA DE ODOO PARA CENTRALIZAR EL DEBATE, COMPARTIR IDEAS, DESARROLLOS, Y FORMAR PARTE DE UNA COMUNIDAD QUE CRECE DÍA A DÍA

¿No estás registrado?  REGISTRATE

0

Factura electronica ADHOC error

Avatar
Facundo Gonzalez
Estimados les comento estoy corriendo odoo en Ubuntu 14.04 con localizacion de ADHOC, funciona todo bien, lo unico que no estoy pudiendo es usar factura electronica.
les comento el error se genera a la hora de realizar el Creado de Certificado el error es el siguiente:
 



 

 

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 "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws/models/afipws_certificate_alias.py", line 184, in action_create_certificate_request 'ascii', 'ignore') File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 469, in __setattr__ _raise_current_error() File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue raise exception_type(errors) Error: [('asn1 encoding routines', 'ASN1_mbstring_ncopy', 'string too long')]

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 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 "/mnt/extra-addons/odoo-argentina/l10n_ar_afipws/models/afipws_certificate_alias.py", line 184, in action_create_certificate_request 'ascii', 'ignore') File "/usr/local/lib/python2.7/dist-packages/OpenSSL/crypto.py", line 469, in __setattr__ _raise_current_error() File "/usr/local/lib/python2.7/dist-packages/OpenSSL/_util.py", line 48, in exception_from_error_queue raise exception_type(errors) Error: [('asn1 encoding routines', 'ASN1_mbstring_ncopy', 'string too long')] entendi que el error estaba dado por mi razon social es demasiado larga, la misma es:  

GONZALEZ ROBERTO ABEL GONZALEZ ROBERTO MARTIN Y GONZALEZ FACUNDO CARLOS

 

de hecho probe con una razon social mas corta y si funciono y pude crear el certificado, ahora bien alguien sabe como hago para poder usar mi razon social, entiendo que es totalmente necesario que sea tal cual estamos registrados en AFIP

 

Gracias! Facundo



La version es la que descargue de la pagina de Adhoc opcion usuario avanzado con docker

Avatar
Descartar
1 Respuesta
0
Avatar
Soporte ADHOC
Best Answer

Facundo

Como estás? Nunca tuvimos un cliente con una razón social tan extensa, te recomiendo que lo consultes con AFIP.

Saludos!

1 Comentario
Avatar
Descartar
Avatar
Facundo Gonzalez
-

Gracias por la respuesta, te comento que las sociedades de hecho no pueden usar nombres de fantasía en la denominación, deben figurar los nombres de los socios. Voy a tratar de comunicarme con la AFIP, aunque creo ya saber la respuesta. Gracias