Sales

Create a Quotation

{
  "id": "839dj3ud9829302jd",
  "action": "create",
  "model_id": "sale.order",
  "keyword": {
    "context": {
      "allowed_company_ids": [
        1
      ],
      "default_company_id": 1,
      "tz": "Asia/Jakarta"
    }
  },
  "params": [[{
    "partner_id": 14,
    "order_line": [
      [0,0,{
        "product_id": 14,
        "price_unit": 10,
        "product_uom_qty": 10
      }],
      [0,0,{
        "product_id": 15,
        "price_unit": 100,
        "product_uom_qty": 10
      }]
    ]
  }]],
  "odoo_instance": {
    "url": "YOUR_ODOO_INSTANCE_URL",
    "user_id": INT(YOUR_USER_ID),
    "db": "YOUR_ODOO_DB",
    "api_key": "YOUR_ODOO_API_KEY"
  }
}

Confirm a Quotation

This action will confirm the quotation and set its state to “Sale / Sales Order”. A corresponding Inventory Transfer document will also be created.

To confirm the shipment, you can navigate to the transfer document from here

Last updated