Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4926 Zobrazení

Is it possible to send an email to a partner with the XmlRpc API? I tried using the following PHP code, but I can't figure out how to compose the arguments.

$id = $client->call('res.partner', 'message_post', array(
        $parterId,
        'body',
        'subject'
    ));

This call succesfully posts a message to the user's document but sends no email.

Am I using the right model? What arguments should I pass?

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
čvc 25
2848
1
čvc 25
676
5
kvě 25
18122
0
dub 25
1044
1
dub 25
1530