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":{}
        }
    }
}

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
0
gruod. 23
1602
0
lapkr. 24
316
1
vas. 23
3615
0
rugs. 22
102
1
vas. 24
4491