Bill of Material
Create Bill of Material
{
"id": "839dj3ud9829302jd",
"action": "create",
"model_id": "mrp.bom",
"keyword": {
"context": {
"allowed_company_ids": [
1
],
"default_company_id": 1,
"tz": "Asia/Singapore"
}
},
"params": [
[
{
"product_tmpl_id": 9,
"product_qty": 100,
"type": "normal",
"bom_line_ids": [
[0,0,
{
"product_id": 22,
"product_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"
}
}Query Bill of Materials for specific item
List Bill of Material
The available BoM types are:
normal – Used when a Manufacturing Order (MO) is required.
phantom (Kit) – Used for kits; no Manufacturing Order is generated.
If you need to issue a Manufacturing Order, always use the normal type
Last updated