The sync system enables multiple POS terminals in a restaurant to share orders, table state, and payments in real time through an in-store hub server. It operates in two modes:Documentation Index
Fetch the complete documentation index at: https://docs.laportenard.com/llms.txt
Use this file to discover all available pages before exploring further.
- Direct mode (default) — Each terminal talks directly to Odoo via HTTP polling and an outbox queue. No additional infrastructure needed.
- Hub mode (opt-in) — Terminals connect via WebSocket to a local Node.js hub that coordinates all activity and acts as the sole gateway to Odoo.
Package structure
Enable hub mode
Deploy the hub server
See deployment for Raspberry Pi, Docker, and systemd setup.
Configure Odoo
Set these fields on the shared POS config:
nu_hub_enabled=Truenu_hub_url=ws://<hub-ip>:8766(or leave blank for mDNS discovery)