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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
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:
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
3
Mar 23
|
2569 | ||
|
0
Jul 21
|
950 | ||
Simple API example
Solved
|
|
3
May 19
|
17134 | |
|
1
Jan 23
|
1568 | ||
|
0
Dec 21
|
1997 |