Repository navigation
OpenMES v0.29.2
OpenMES v0.29.2 — ERP integration API for Odoo, SAP and other ERPs
OpenMES v0.29.2 adds the ERP integration API that the OpenMES Connector for Odoo 18 is built on. The same API serves SAP, Comarch, enova365 and Microsoft Dynamics / Business Central integrations. Sales orders become work orders, and production results, scrap and costs flow back to the ERP, with no manual retyping between the two systems. Everything sits behind the ERP integration module and scoped API keys, so existing installations and clients keep working unchanged.
What's new for ERP integrations
-
ERP API keys that explain themselves.
GET /api/v1/erp/mereturns:- the granted and missing scopes, the tenant and the expiry;
- which modules are on, and the app version.
Under Settings → API Tokens, administrators can create keys, choose their scopes, set an expiry and revoke them.
-
Master data the ERP can read. A key with the new
erp:masterdata:readscope lists production lines, product types and warehouses, so codes no longer have to be typed in twice. -
Work orders under ERP control:
- Import orders and get a per-row result back.
- Look an order up by its number and cancel it.
- Changes to an order already in production become change requests, which a supervisor approves or rejects and the ERP follows through.
- Each order keeps the ERP source reference, the customer and the price currency.
-
Production settlement export. Consumption, scrap and costs per work order (
?include=consumption,scrap,costs) give the ERP everything it needs to close a production order. -
Routings as process templates. ERP routings (operations and work centres) are imported as OpenMES process templates. A product import can set the default template.
-
Units of measure that match. Unit aliases map ERP unit names and UN/ECE codes to OpenMES units:
szt,UnitsandC62→pcs, andKGM→kg. A stock row in the wrong unit is refused instead of stored incorrectly. -
Webhooks for real-time integration:
- The ERP can manage its own webhook subscriptions.
- Work-order events carry full order data.
- New events cover order creation, production progress, posted stock documents and quality issues.
- Every delivery is signed with a timestamp, which protects against replay.
- Receivers on the local network must be allowed by an administrator.
Upgrading
- 7 new database migrations, all additive. They run automatically when the container starts.
- Existing webhook receivers keep working. Tick Legacy signature on an endpoint whose receiver cannot verify the timestamped signature yet.
- Version 0.29.1 was skipped.
Installation
Web / self-hosted: download openmmes-v0.29.2.zip below — it is self-contained (PHP dependencies in vendor/ and the built frontend in backend/public/build/ are already bundled, so no composer install or npm build is required).
Desktop: grab the installer for your OS — Windows *-setup.exe, macOS *.dmg, or Linux *.deb / *.rpm. They bundle PHP + the backend and run OpenMES as a local app / LAN server.
Mobile (Android): install openmes-mobile-v0.29.2.apk and point it at your OpenMES server.
Shared hosting (no terminal): unzip the web package, upload the folder, point the document root at the package root, then open the URL — the browser-based setup wizard handles environment, database and the admin account.
Docker: unzip the web package and run docker compose up -d from the package root (or bash install.sh).
Changes
- Merge pull request #417 from Mes-Open/release/0.29.2 (9308e87)
- chore(release): 0.29.2 (6f0d36c)
- Merge pull request #416 from Mes-Open/feat/erp-odoo-connector-api (0c609da)
- Merge the ERP connector API work into develop (e8f2ce4)
- fix(change-requests): say the order is cancelled when a cancellation is applied (f7d4575)
- fix(settings): drive the ERP keys section over the session routes (2811e83)
- test(erp): freeze the clock in the settlement query-count test (af23d40)
- fix(erp): parse ?since= before filtering incremental exports (de8c097)
- fix(erp): describe the erp:webhooks:manage scope (6c6ca0e)
- chore: drop unrelated pint reformatting picked up while merging (c8546c7)
- Merge branch 'review/T2a-f31b4c84' into integration/odoo (81fc415)
- Merge branch 'review/T5-7b8ff8a3' into integration/odoo (0db8a76)
- Merge branch 'review/P0A-1efc8cde' into integration/odoo (752f22f)
- Merge branch 'review/T3-2278fca9' into integration/odoo (b8e9e1f)
- Merge branch 'review/P0B-c0abf3fb' into integration/odoo (0ef6b60)
- Merge branch 'cez/c15b1f9f' into integration/odoo (9f88860)
- Merge branch 'cez/b612389c' into integration/odoo (97b54a5)
- fix(settings): show ERP key changes without waiting for a refetch (2f4defb)
- fix(i18n): translate the remaining webhook URL guard reasons (32ad705)
- fix(webhooks): always block IPv6 metadata and IPv4-embedding ranges (c7b7b84)
- fix(webhooks): never follow redirects on delivery (f62fecf)
- fix: honour the ERP order lookup when it is sent in the request body (c3f519c)
- fix: lock the work order before the change request when applying (0829d3f)
- fix: keep an approved ERP change request when the same update is re-sent (cae2851)
- fix(erp): compare routings with the active version and keep drafts above it (f0afbaf)
- fix: check price_currency on the shared work-order import path (fe3bb11)
- fix(erp): keep an archived material's code in the settlement export (dd62299)
- test: click-through demo for unit aliases (97366f6)
- fix: tenant-only unit alias lookup and per-tenant default seeding (afd0882)
- fix: show each unit alias once and a no-match message in filtered tables (40978e9)
- feat: ERP order lookup by number, cancel, and change requests for running orders (05062d7)
- test: click-through demo for unit aliases (df532e4)
- feat(erp): import routings as process templates and default template on product import (747c369)
- fix(webhooks): keep issue.created for issues without a work order (fc61eb9)
- feat: unit aliases and unit checks for ERP imports (c905de5)
- feat(erp): settle a work order via ?include=consumption,scrap,costs (c52cab0)
- test: click-through demo for webhook timestamp signatures and new events (a4a4c7e)
- test: click-through demo for ERP masterdata API key scope (8a1cc2e)
- feat: ERP-managed webhooks and local-network allowlist for webhook receivers (d3c68b3)
- feat: carry ERP source reference, customer and price currency on work orders (b3936e4)
- feat(erp): key introspection, read-only master data, multi-status export (4e20f15)
- feat(webhooks): full order payloads, progress/stock/quality events, timestamped signature (7aee438)