コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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?

アバター
破棄
関連投稿 返信 ビュー 活動
1
5月 21
3174
4
6月 22
24812
1
8月 25
80
1
6月 25
1191
1
6月 25
827