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

I'm trying to import suppliers.  Some are for foreign companies that have no state codes, which makes the import process return errors.  Looking in the database, I see that field "state" in "res.partner" is nullable, so why can't I import a blank field? I have also tried replacing empty strings with "NULL" and "(null)", but neither works.
 

아바타
취소
작성자 베스트 답변

What ended up working for me was to open the .csv file in OpenOffice, select the blank fields, and hit the "Delete" key.  I then got a pop-up asking if I wanted to delete numbers, text, etc., or "Delete All".  I chose "Delete All", then re-saved the file.  After that, it validated and imported without problems!  Hope this helps someone else when they run into the same issue.

아바타
취소
베스트 답변

I suspect that the fields of your initial csv file were not blank but filled with one symbol/caracter like ' which you cannot see by default.

 

아바타
취소
관련 게시물 답글 화면 활동
2
5월 25
1363
4
5월 25
5081
1
8월 24
2362
1
2월 24
3118
3
10월 23
11185