콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

Hi, i hope all its fine , i want to ask you about this issue :

psycopg2.IntegrityError: duplicate key value violates unique constraint "res_groups_name_uniq"

DETAIL: Key (name)=(Finance / Accountant) already exists

sql:bad query: UPDATE "res_groups" SET "name"='Finance / Accountant',write_uid=1,write_date=now() WHERE id IN (49)

thats ocurs when i run my openerp server with parameter --update=all. I chage the database structure ON UPDATE NO ACTION, for ON UPDATE CASCADE on tables res_groups y ir_ui_menu_group_rel. The result its the same. The thing is Finance / Accountant = 49 on table res_groups,with constraint res_groups_name_uniq.

In res_group_id_seq the number its updated  start on 50, latter 51 when i run again  openerp-server.py  --config=/...rute/openerp-server.conf --update=all

regards.

아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
7313
0
3월 15
3758
3
3월 15
6705
2
3월 15
8259
1
8월 25
255