Symptom: fresh Odoo 20 deploy serves 127.0.0.1:8069 only; Traefik and the
swarm VIP get connection refused -> HTTP 502 through the preview domain.
Root cause (odoo/tools/config.py):
- line 289: --http-interface my_default='127.0.0.1'
- lines 768-770: empty http_interface is force-reset to 127.0.0.1
- the legacy xmlrpc_port key no longer exists (renamed http_port), so
the old conf line was silently ignored (port worked only via default)
Fix: generated odoo.conf now sets http_interface = 0.0.0.0 and
http_port = 8069. Verified end-to-end on the onebspace deployment:
internal 8069 binds 0.0.0.0, preview domain returns 200.