Skip to Content
Menu
This question has been flagged

I am placing a record in the database to be sent by mail using the record insert API, the record is added to the DB but the mail is not sent, which I still need to add for the mail to go out.

Url:  https://my.shop.com/web/dataset/call_kw

Json:

{
    "jsonrpc":"2.0",
    "method":"call",
    "params":{
        "context":{},
        "model":"mail.notification",
        "method":"create",
        "args":[{
            "mail_message_id":1901,
            "res_partner_id":21,
            "notification_type":"email",
            "notification_status":"ready"
        }],
        "kwargs":{
            "context":{}
        }
    }
}

Avatar
Discard
Related Posts Replies Views Activity
0
Dec 23
565
0
Nov 24
0
1
Feb 23
2355
0
Sep 22
102
1
Feb 24
2709