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

Hello, I cant import messages (comments), when I am try to import field 'Contents', get error : 'NoneType' object is not callable. Anybody know how to fix it? Thanks

아바타
취소
베스트 답변

I just exported some messages.

Every one had either the HTML tag <P> or <DIV> starting the field, with a corresponding </P> and </DIV> as the last value in the field.

Do yours? Perhaps you can post a sample of what you are importing?

EDIT:

mail.message.csv

I was able to import the above CSV file of messages into build 26161 of v7 at http://7-0-26161.runbot.openerp.com/

You should try the same thing in the current version (accessed from http://runbot.openerp.com ). If it works, the problem is with your CSV. If it doesn't work, the problem is not with OpenERP.

Internet Explorer is not as reliable for importing as Chrome or Firefox - that could also be worth trying.

아바타
취소
작성자

Hello, thanks, but all fields 'contents' has the tags, and also can't import. I decide my problem with direct import in database table. But if I can do this with standard import, is much easier.

작성자

I am trying to import the export from messages without success

See my EDIT above. Please post a sample of your file if you want more help from me.

작성자

Hello, in your export file is missing field 'body', without this field import is ок, but I need to import 4000 comments ...

http://www9.zippyshare.com/v/27732478/file.html

this is my цсж file, try to import it

I get the same problem when I include contents. You should report this as a bug.

작성자

ок thank you.

Suggested solution absolutely not perfectly working, Stuck by content/body field.

작성자

Hello Zahin, i have only one way that work, and this is a direct import in to the database table - mail.messages.

Or export lead ids and create new csv filled by resource id for messages model. Then able to import comments in messages model.

I reported this as a bug today.

관련 게시물 답글 화면 활동
1
11월 24
1901
5
9월 25
24002
4
11월 18
8405
2
11월 16
6285
2
7월 16
13317