search_rif falla en excepción al consultar un rif malformado
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Openerp Venezuela |
Fix Released
|
Undecided
|
Miguel Delgado (Vauxoo) |
Bug Description
Al consultar un rif (cliente/proveedor) si la cadena del rif está malformada (ej. se coloca V cuando es G, o el string es mas corto) al realizar la consulta salta una excepción.
Esto también sucede si no hay conexión contra el seniat.
Traceback (most recent call last):
File "/home/
result = ExportService.
File "/home/
res = fn(db, uid, *params)
File "/home/
res = my_fct(db, uid, model, method, *args)
File "/home/
return fct_src(db, uid_orig, model, method, *args)
File "/home/
return f(self, dbname, *args, **kwargs)
File "/home/
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/
res = su_obj.
File "/home/
dom = parseString(
File "/usr/lib/
return expatbuilder.
File "/usr/lib/
return builder.
File "/usr/lib/
parser.
ExpatError: syntax error: line 1, column 0
Related branches
- Gabriela Quilarque: Approve
-
Diff: 22 lines (+3/-5)1 file modifiedl10n_ve_fiscal_requirements/seniat_url.py (+3/-5)
- Gabriela Quilarque: Pending requested
- Diff: 0 lines
Changed in openerp-venezuela-localization: | |
assignee: | nobody → Miguel Delgado (Vauxoo) (miguel-delgado07) |
Changed in openerp-venezuela-localization: | |
status: | New → Fix Committed |
Changed in openerp-venezuela-localization: | |
status: | Fix Committed → Fix Released |