Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 2.74 KB | None | 0 0
  1. {
  2.   "jsonrpc": "2.0",
  3.   "method": "call",
  4.   "params": {
  5.     "args": [
  6.       [],
  7.       {
  8.         "composition_mode": "comment",
  9.         "model": "purchase.order",
  10.         "res_id": 16,
  11.         "parent_id": false,
  12.         "email_from": "Mitchell Admin <admin@yourcompany.example.com>",
  13.         "subject": "Re: P00016",
  14.         "body": "",
  15.         "template_id": 46,
  16.         "is_log": false,
  17.         "mail_server_id": false,
  18.         "active_domain": false,
  19.         "use_active_domain": false,
  20.         "partner_ids": [
  21.           [
  22.             6,
  23.             false,
  24.             []
  25.           ]
  26.         ],
  27.         "notify": false,
  28.         "campaign_id": false,
  29.         "mass_mailing_name": false,
  30.         "no_auto_thread": false,
  31.         "reply_to": false,
  32.         "attachment_ids": [
  33.           [
  34.             6,
  35.             false,
  36.             []
  37.           ]
  38.         ]
  39.       },
  40.       [
  41.         "composition_mode",
  42.         "model",
  43.         "res_id",
  44.         "is_log",
  45.         "parent_id",
  46.         "mail_server_id",
  47.         "active_domain",
  48.         "use_active_domain",
  49.         "email_from",
  50.         "partner_ids",
  51.         "subject",
  52.         "notify",
  53.         "campaign_id",
  54.         "mass_mailing_name",
  55.         "no_auto_thread",
  56.         "reply_to",
  57.         "body",
  58.         "attachment_ids",
  59.         "template_id"
  60.       ],
  61.       {
  62.         "composition_mode": "",
  63.         "model": "",
  64.         "res_id": "",
  65.         "is_log": "",
  66.         "parent_id": "",
  67.         "mail_server_id": "",
  68.         "active_domain": "",
  69.         "use_active_domain": "",
  70.         "email_from": "",
  71.         "partner_ids": "",
  72.         "subject": "",
  73.         "notify": "",
  74.         "campaign_id": "",
  75.         "mass_mailing_name": "",
  76.         "no_auto_thread": "",
  77.         "reply_to": "",
  78.         "body": "",
  79.         "attachment_ids": "",
  80.         "template_id": "1"
  81.       }
  82.     ],
  83.     "model": "mail.compose.message",
  84.     "method": "onchange",
  85.     "kwargs": {
  86.       "context": {
  87.         "lang": "en_US",
  88.         "tz": "Europe/Brussels",
  89.         "uid": 2,
  90.         "allowed_company_ids": [
  91.           1
  92.         ],
  93.         "active_model": "purchase.requisition",
  94.         "send_rfq": true,
  95.         "active_id": 2,
  96.         "active_ids": [
  97.           2
  98.         ],
  99.         "default_requisition_id": 2,
  100.         "default_user_id": false,
  101.         "default_model": "purchase.order",
  102.         "default_res_id": 16,
  103.         "default_use_template": true,
  104.         "default_template_id": 46,
  105.         "default_composition_mode": "comment",
  106.         "custom_layout": "mail.mail_notification_paynow",
  107.         "force_email": true,
  108.         "mark_rfq_as_sent": true,
  109.         "model_description": "Request for Quotation"
  110.       }
  111.     }
  112.   },
  113.   "id": 997312105
  114. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement