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

how to update record from CSV file using default odoo import feature through name, not by external Id?

아바타
취소
베스트 답변

If it creates new records, then the name is not unique. You may also want to check languages and translations or any hidden/non-obvious characters.

아바타
취소
작성자

Thanks for your answer. But, there is not any issue with language. Will it identify the unique record from the name automatically?

As I know, odoo identifies the unique record using external ID.

베스트 답변

The name has to be unique for this to work.

아바타
취소
작성자

Yup name is unique. But currently, it happens that when I am uploading the file with same name, it generates a new record. Now, I want that if the name is same, the record must be updated.

Which model are you trying to load data into ?

작성자

Its my custom model. Which has only two columns, name and other one.

Is the name field called "name" ?

Have you set it's attributes as Required, Stored and Indexed ?

작성자

Yes the field name is "name". But, I have not set Required, Stored and Indexed. Should I need to set it?

Yes. Set it to Required, Stored and Indexed.

베스트 답변

have you manage to solve these ?

아바타
취소
관련 게시물 답글 화면 활동
2
11월 24
2044
1
11월 24
2801
1
10월 23
3496
3
12월 23
21352
0
5월 21
8184