Skip to main content

Odoo

Overview

The Odoo blueprint crawls ERP data from Odoo Online including products, bills of materials (BOMs), BOM line entries, engineering change orders (ECOs), vendor pricelist entries (supplier info), and vendor partner records. It enables end-to-end digital thread traceability — linking Odoo product records to AlignI BOM parts via the internal reference code (default_code), through Azure IoT templates to deployed field devices, and now extending into the supply chain with vendor sourcing and lead time data.

Resources Collected

  • Products: Product templates (product.template) with internal reference code, type, category, and description
  • BOMs: Bills of materials (mrp.bom) linking a product to its component assembly with reference code and BOM type
  • BOM Lines: Individual component entries (mrp.bom.line) within a BOM, including component product and quantity
  • ECOs: Engineering change orders (mrp.eco) tracking requested design changes with stage, state, and priority
  • Supplier Info: Vendor pricelist entries (product.supplierinfo) linking a product template to a vendor with part number, price, minimum quantity, and lead time in days
  • Vendors: Vendor partner records (res.partner) with name, email, and country

Prerequisites

  • Odoo Online account (SaaS) with Manufacturing (mrp) module enabled
  • An Odoo user with at least read access to product.template, mrp.bom, mrp.bom.line, mrp.eco, product.supplierinfo, and res.partner
  • An API key generated in user Preferences

Setup Instructions

1. Generate an API Key

  1. Log in to your Odoo instance (https://<your-org>.odoo.com)
  2. Click your user avatar (top-right) → Preferences
  3. Under the Account Security tab, click New API Key
  4. Give it a descriptive name (e.g. kaleidoscope-crawler) and copy the generated key

2. Configure the Crawler

FieldDescriptionRequired
odooOrgOdoo Online organization slug only (e.g. acme for acme.odoo.com) — do NOT enter the full URLYes
odooLoginLogin email address for the Odoo accountYes
odooAPIKeyAPI key generated in Preferences > API KeysYes

Data Points

Data PointOdoo ModelFields
Productsproduct.templateid, name, default_code (internal ref), type, categ_id
BOMsmrp.bomid, code, product_tmpl_id, product_qty, type
BOM Linesmrp.bom.lineid, bom_id, product_id, product_qty
ECOsmrp.ecoid, name, product_tmpl_id, stage_id, state, priority
Supplier Infoproduct.supplierinfoid, product_tmpl_id, partner_id, product_code, price, min_qty, delay
Vendorsres.partnerid, name, email, country_id

Cross-System Correlation

The InternalReference field on odoo.inventory.Product (maps to default_code in Odoo) is the key used to correlate with AlignI:

  • AlignI: odoo.inventory.Product.InternalReference = aligni.design.Part.ManufacturerPn

This extends the full Digital Thread: Odoo ERPAlignI BOMAzure IoT TemplateLosant Field Device

Joiner Bot Edges Created

Edge NameFromToDescription
Odoo.ProductToAlignIPartodoo.inventory.Productaligni.design.PartCross-blueprint link via internal reference
Odoo.BOMForProductodoo.manufacturing.BOModoo.inventory.ProductBOM belongs to product
Odoo.BOMLineInBOModoo.manufacturing.BOMLineodoo.manufacturing.BOMBOM line belongs to BOM
Odoo.BOMLineReferencesProductodoo.manufacturing.BOMLineodoo.inventory.ProductBOM line references component product
Odoo.ECOTargetsProductodoo.manufacturing.ECOodoo.inventory.ProductECO targets a product
Odoo.ProductHasSupplierInfoodoo.inventory.Productodoo.purchasing.SupplierInfoProduct has a vendor pricelist entry
Odoo.SupplierInfoForVendorodoo.purchasing.SupplierInfoodoo.purchasing.VendorPricelist entry belongs to a vendor

Supply Chain Analytics

The vendor and supplier info resources enable a new class of supply chain intelligence within the Digital Thread analyzer:

  • Sourcing Coverage: Shows what fraction of products are single-sourced vs. multi-sourced
  • Products per Vendor: Surfaces vendor concentration — how many components each vendor covers
  • BOM Components With No Vendor: Flags components in the manufacturing structure with no procurement path
  • Sole-Sourced Long Lead Components: Highlights the highest risk items — one vendor with a lead time over 45 days

These metrics appear in the Product 360 view of the Digital Thread analyzer alongside the existing ECO and BOM widgets. The full graph traversal path is: ECO → Product → SupplierInfo → Vendor.

Troubleshooting

ErrorCauseFix
Authentication failedWrong login or API keyVerify login email and regenerate API key in Preferences
Cannot fetch BOMs / ECOsManufacturing module not installedEnable the Manufacturing app in Odoo Settings > Apps
Empty products listNo active productsEnsure products are not archived in Odoo