c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #35950
[Bug 883330] [NEW] IndexError: list index out of range al tratar de crear un producto Nuevo
Public bug reported:
Al intentar crear un producto se presenta el error IndexError: "list
index out of range"...
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/addons/l10n_ve_islr_withholding/product.py", line 60, in onchange_product_type
concept_id = concept_obj.search(cr, uid, [('name','ilike','RETENTION DOES NOT APPLY')])[0]
IndexError: list index out of range
Pasos para reproducir, En una base de datos nueva sin datos de demostracion:
- Instalar los modulos de la localizacion venezolana
- Crear Clientes y Proveedores
- Crear Producto
Comportamiento esperado:
- Creación exitosa de un producto
Comportamiento actual:
- Fallo de aplicación al intentar grabar.
- La vista de formulario de producto nuevo aparece abilitada
- El estado del producto es "Error al cargar registro"
Version de Aplicaciones:
- Versión de OpenERP servidor y cliente, trunk serie 6.0
- Localización venezolana en su revisión 445, actual hasta la fecha
TRACEBACK:
Environment Information :
System : Linux-3.0.0-12-generic-x86_64-with-Ubuntu-11.10-oneiric
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Operating System Release : 3.0.0-12-generic
Operating System Version : #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF-8
Python Version : 2.7.2+
OpenERP-Client Version : 6.0.3
Last revision No. & ID :1909 launchpad_translations_on_behalf_of_openerp-20111026053714-m2zn4724homqxso1
Traceback (most recent call last):
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/addons/l10n_ve_islr_withholding/product.py", line 60, in onchange_product_type
concept_id = concept_obj.search(cr, uid, [('name','ilike','RETENTION DOES NOT APPLY')])[0]
IndexError: list index out of range
** Affects: openerp-venezuela-localization
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/883330
Title:
IndexError: list index out of range al tratar de crear un producto
Nuevo
Status in Localización Venezuela:
New
Bug description:
Al intentar crear un producto se presenta el error IndexError: "list
index out of range"...
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/addons/l10n_ve_islr_withholding/product.py", line 60, in onchange_product_type
concept_id = concept_obj.search(cr, uid, [('name','ilike','RETENTION DOES NOT APPLY')])[0]
IndexError: list index out of range
Pasos para reproducir, En una base de datos nueva sin datos de demostracion:
- Instalar los modulos de la localizacion venezolana
- Crear Clientes y Proveedores
- Crear Producto
Comportamiento esperado:
- Creación exitosa de un producto
Comportamiento actual:
- Fallo de aplicación al intentar grabar.
- La vista de formulario de producto nuevo aparece abilitada
- El estado del producto es "Error al cargar registro"
Version de Aplicaciones:
- Versión de OpenERP servidor y cliente, trunk serie 6.0
- Localización venezolana en su revisión 445, actual hasta la fecha
TRACEBACK:
Environment Information :
System : Linux-3.0.0-12-generic-x86_64-with-Ubuntu-11.10-oneiric
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Operating System Release : 3.0.0-12-generic
Operating System Version : #20-Ubuntu SMP Fri Oct 7 14:56:25 UTC 2011
Operating System Architecture : 64bit
Operating System Locale : en_US.UTF-8
Python Version : 2.7.2+
OpenERP-Client Version : 6.0.3
Last revision No. & ID :1909 launchpad_translations_on_behalf_of_openerp-20111026053714-m2zn4724homqxso1
Traceback (most recent call last):
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/service/web_services.py", line 599, in dispatch
res = fn(db, uid, *params)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/osv/osv.py", line 122, in wrapper
return f(self, dbname, *args, **kwargs)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/osv/osv.py", line 176, in execute
res = self.execute_cr(cr, uid, obj, method, *args, **kw)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/osv/osv.py", line 167, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/home/keffie-jayx/openerp/stable/server/6.0/bin/addons/l10n_ve_islr_withholding/product.py", line 60, in onchange_product_type
concept_id = concept_obj.search(cr, uid, [('name','ilike','RETENTION DOES NOT APPLY')])[0]
IndexError: list index out of range
To manage notifications about this bug go to:
https://bugs.launchpad.net/openerp-venezuela-localization/+bug/883330/+subscriptions
Follow ups
References