跳至内容
菜单
此问题已终结
1 回复
7860 查看

Hi I try add Log Note to Lead using API but I can't find how to do that. I find that new Log Note is create as mail.message. But I don't know how i should create this object and bind it with particular lead. Any help with that?

形象
丢弃
最佳答案

Try first to make a record from the MESSAGES Menu in Developer Mode.

Related Document Model (model) = the document TYPE the Note is attached to (crm.lead or sale.order)
Related Document ID (res_id) = the ID of the document the Note is attached to
Subtype (subtype_id) = Note if the message is a Note

Given a crm.lead document with ID = 2, this is how you would manually create a Note:



This shows like this:


形象
丢弃
相关帖文 回复 查看 活动
3
3月 23
4460
0
7月 21
1887
3
5月 19
18864
1
1月 23
2790
0
12月 21
3218