c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #05417
[Bug 673895] Re: [V6.0 RC1] List index out of range when creating a new user
To reproduce the bug:
Create a new DataBase
Login as administrator
Install the following modules
-account
-account_analytic_analysis
-account_followup
-account_payment
-account_voucher
-analytic
-audittrail
-base
-base_action_rule
-base_calendar
-base_iban
-base_report_designer
-base_setup
-base_vat
-board
-crm
-decimal_precision
-document
-document_ftp
-hr
-hr_attendance
-hr_expense
-hr_holidays
-hr_timesheet
-hr_timesheet_invoice
-hr_timesheet_sheet
-knowledge
-l10n_ch
-mail_gateway
-process
-procurement
-product
-project
-project_timesheet
-purchase
-report_webkit
-report_webkit_sample
-resource
-sale
-sale_journal
-stock
-subscription
-wiki
Create a new User: No problem
Go on the menu tab
Remove ALL Shortcuts
Create a new User.
The following error appear:
Environment Information :
System : Windows-32bit-SP2
OS Name : nt
Operating System Release :
Operating System Version : 32bit
Operating System Architecture : 32bit
Operating System Locale : fr_CH.cp1252
Python Version : 2.5.2
OpenERP-Client Version : 6.0.0-rc1-1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
result = ExportService.getService(service_name).dispatch(method, auth, params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
res = fn(db, uid, *params)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/audittrail/audittrail.py", line 504, in execute
res = my_fct(db, uid, model, method, *args)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/audittrail/audittrail.py", line 488, in my_fct
return fct_src(db, uid, model, method, *args)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
return f(self, dbname, *args, **kwargs)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
return getattr(object, method)(cr, uid, *args, **kw)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/crm/crm_meeting.py", line 189, in create
'user_id': user_id}, context=context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 4211, in copy
data = self.copy_data(cr, uid, id, default, context)
File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 4113, in copy_data
data = self.read(cr, uid, [id], context=context_wo_lang)[0]
IndexError: list index out of range
--
[V6.0 RC1] List index out of range when creating a new user
https://bugs.launchpad.net/bugs/673895
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
Status in OpenObject Addons Modules: Incomplete
Bug description:
Good Morning,
I found the following bug:
1) Steps to reproduce the issue you have observed-
Install the followings modules:
-account
-account_analytic_analysis
-account_followup
-account_payment
-account_voucher
-analytic
-audittrail
-base
-base_action_rule
-base_calendar
-base_iban
-base_report_designer
-base_setup
-base_vat
-board
-crm
-decimal_precision
-document
-document_ftp
-hr
-hr_attendance
-hr_expense
-hr_holidays
-hr_timesheet
-hr_timesheet_invoice
-hr_timesheet_sheet
-knowledge
-l10n_ch
-mail_gateway
-process
-procurement
-product
-project
-project_timesheet
-purchase
-report_webkit
-report_webkit_sample
-resource
-sale
-sale_journal
-stock
-subscription
-wiki
Create a new User
Save
2) The result you observed
The Following error appear:
> Environment Information :
> System : Windows-32bit-SP2
> OS Name : nt
> Operating System Release :
> Operating System Version : 32bit
> Operating System Architecture : 32bit
> Operating System Locale : fr_CH.cp1252
> Python Version : 2.5.2
> OpenERP-Client Version : 6.0.0-rc1-1
> Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/netsvc.py", line 489, in dispatch
> result = ExportService.getService(service_name).dispatch(method, auth, params)
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/service/web_services.py", line 586, in dispatch
> res = fn(db, uid, *params)
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 57, in wrapper
> return f(self, dbname, *args, **kwargs)
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 140, in execute
> res = pool.execute_cr(cr, uid, obj, method, *args, **kw)
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/osv.py", line 130, in execute_cr
> return getattr(object, method)(cr, uid, *args, **kw)
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/addons/crm/crm_meeting.py", line 189, in create
> 'user_id': user_id}, context=context)
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 4211, in copy
> data = self.copy_data(cr, uid, id, default, context)
> File "/usr/local/lib/python2.6/dist-packages/openerp-server/osv/orm.py", line 4113, in copy_data
> data = self.read(cr, uid, [id], context=context_wo_lang)[0]
> IndexError: list index out of range
3) The result you expected
The user is not created.
Note: You can create users directly in the database (res_user), but it's a temporary solution.
4) The platform you are using
OpenERP Client Windows
OpenERP Server Linux
5) The OpenERP version you are using
V6.0 RC1
References