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?
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
            
                3010
                
                    Widoki
                
            
        
    Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj się| Powiązane posty | Odpowiedzi | Widoki | Czynność | |
|---|---|---|---|---|
|  | 1 maj 21  | 3598 | ||
|  | 4 cze 22  | 25624 | ||
|  | 1 sie 25  | 1049 | ||
|  | 1 cze 25  | 1833 | ||
|  | 1 cze 25  | 1686 | 
