purchase_create_order
Create purchase orders in Odoo ERP by specifying vendor ID and product details to initiate procurement workflows.
Instructions
Create a new purchase order
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"partner_id": "<partner_id>",
"lines": "<lines>"
},
"name": "purchase_create_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| partner_id | Yes | Vendor partner ID | |
| lines | Yes | Order lines with product, quantity, and price |