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

Hi,

Config:

  • Openerp 7.0
  • Ubuntu 12.04 x64
  • Postgresql 9.1

Problem

I have a CSV file like this :

"company1 name"
"company2 name"
...

So there's only one column.

When I try to import this in openerp web client, via the import menu, this take infinite time, either to validate or import...

After, when I've stopped the process, I've checked the log file, here's a sample (where the error appears):

Traceback (most recent call last):
  File "/opt/openerp/server/openerp/sql_db.py", line 226, in execute
    res = self._obj.execute(query, params)
IntegrityError: duplicate key value violates unique constraint "res_company_name_uniq"
DETAIL:  Key (name)=(company1 name) already exists.

I've also check with pgadmin3 ths database, and there's only one line: my own company (who was here before all this mess).

Someone can explain me why an Integrity Error is raised ?

Thanks

아바타
취소
관련 게시물 답글 화면 활동
3
7월 25
2177
1
4월 25
1630
0
2월 25
1889
2
1월 25
8601
creation of company 해결 완료
1
10월 24
12598