Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd

Good afternoon.



I'm trying to send messages to an odoo chat via api.



models.execute_kw(db, uid, password, 'mail.message', 'create', [{

'model': 'mail.channel',

'moderation_status': 'accepted',

'subtype_id': 1,

'channel_ids': [12],

'res_id': 12,

'body': 'test',

'message_type': 'comment',

'author_id': 40806,

'author_avatar': False

}])



The message is saved, however the 'channel_ids' goes empty and the message does not appear in the channel.



Even trying to edit ('write') it won't.



Could anyone let me know how I can solve it?

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
mei 21
3193
4
jun. 22
24843
1
aug. 25
139
1
jun. 25
1203
1
jun. 25
862