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
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
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:
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrirePublications associées | Réponses | Vues | Activité | |
---|---|---|---|---|
|
3
mars 23
|
4248 | ||
|
0
juil. 21
|
1767 | ||
Simple API example
Résolu
|
|
3
mai 19
|
18710 | |
|
1
janv. 23
|
2646 | ||
|
0
déc. 21
|
3066 |