I'm trying to create an activity for a contact with the Odoo Api.
My Postman test to get or create contacts work fine.
But my jsonRPC to create an activity always throws me the following error:
"'format.address.mixin' object has no attribute 'display_name'"
This is the jsonRPC I'm using. It's mostly like the one I use for create and get contacts.
Somebody an idea what could be wrong?
{
"jsonrpc": "2.0",
"method": "call",
"params": {
"service": "object",
"method": "execute_kw",
"args": [
„<dbname>“,
2,
„<apikey>",
"mail.activity",
"create",
[
{
"res_id": <contactid>,
"res_model_id": 85,
"activity_type_id": 2,
"summary": „<text>",
"note": „<text>“
}
]
]
},
"id": 1
}