openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #16451
[Bug 1064731] [NEW] [6.1] Error when attempting to create a new user
Public bug reported:
Hello, when attempting to create a new user in a OpenERP database on 6.1
where I have installed HR and CRM modules I'm facing the following
error:
2012-10-09 21:33:53,091 5651 ERROR ? openerp.sql_db: bad query: insert into "ir_ui_view_sc" (id,"resource","name","sequence","user_id","res_id",create_uid,create_date) values (28,'ir.ui.menu','Meetings',0,10,263,1,(now() at time zone 'UTC'))
Traceback (most recent call last):
File "/opt/openerp/server-6.1/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "ir_ui_view_sc_shortcut_unique"
DETAIL: Key (res_id, resource, user_id)=(263, ir.ui.menu, 10) already exists.
I've seen that the cause of the error is that the res_users class, def
create module in crm_meetings module is called twice.
** Affects: openobject-server
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1064731
Title:
[6.1] Error when attempting to create a new user
Status in OpenERP Server:
New
Bug description:
Hello, when attempting to create a new user in a OpenERP database on
6.1 where I have installed HR and CRM modules I'm facing the following
error:
2012-10-09 21:33:53,091 5651 ERROR ? openerp.sql_db: bad query: insert into "ir_ui_view_sc" (id,"resource","name","sequence","user_id","res_id",create_uid,create_date) values (28,'ir.ui.menu','Meetings',0,10,263,1,(now() at time zone 'UTC'))
Traceback (most recent call last):
File "/opt/openerp/server-6.1/openerp/sql_db.py", line 212, in execute
res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "ir_ui_view_sc_shortcut_unique"
DETAIL: Key (res_id, resource, user_id)=(263, ir.ui.menu, 10) already exists.
I've seen that the cause of the error is that the res_users class, def
create module in crm_meetings module is called twice.
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1064731/+subscriptions
Follow ups
References