How turnkeylinux-apps/odoo works
This repository packages a TurnKey Odoo appliance rather than implementing Odoo itself. Its clearest in-repository workflow is first-boot password setup: the hook updates the example database when present, configures Odoo’s master password, and restarts the service. The README also documents the operator workflow of editing the Odoo database configuration, restarting the service, and returning to the login screen. Odoo’s business apps and several appliance integrations are documented but their implementation is outside this tree; the unsampled first-boot scripts are shown without inferred behavior.
Main entry points: odoo.py Password hook
Components 11
First-boot setup
- Password hook
overlay/usr/lib/inithooks/bin/odoo.py - Database secrets hook
overlay/usr/lib/inithooks/firstboot.d/20-odoo-db-secrets - Odoo first-boot hook
overlay/usr/lib/inithooks/firstboot.d/40odoo
Odoo application
- PostgreSQL
- Odoo configuration
- Odoo service
- Odoo business apps
- Apache site config
overlay/etc/apache2/sites-available/odoo.conf
Appliance administration
- Adminer
- Webmin
Other components
- Administrator
Connections 7
- Administrator → Password hook: sets password
README.rst - Password hook → PostgreSQL: updates example DB
overlay/usr/lib/inithooks/bin/odoo.py - Password hook → Odoo configuration: sets master password
overlay/usr/lib/inithooks/bin/odoo.py - Password hook → Odoo service: restarts
overlay/usr/lib/inithooks/bin/odoo.py - Administrator → Odoo configuration: edits database setting
README.rst - Administrator → Odoo service: restarts
README.rst - Administrator → Odoo business apps: uses
README.rst