Eliminate Python dependency: embed frontend assets in odoo-go

- Copy all OWL frontend assets (JS/CSS/XML/fonts/images) into frontend/
  directory (2925 files, 43MB) — no more runtime reads from Python Odoo
- Replace OdooAddonsPath config with FrontendDir pointing to local frontend/
- Rewire bundle.go, static.go, templates.go, webclient.go to read from
  frontend/ instead of external Python Odoo addons directory
- Auto-detect frontend/ and build/ dirs relative to binary in main.go
- Delete obsolete Python helper scripts (tools/*.py)

The Go server is now fully self-contained: single binary + frontend/ folder.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marc
2026-03-31 23:09:12 +02:00
parent 0ed29fe2fd
commit 8741282322
2933 changed files with 280644 additions and 264 deletions

View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 136 136"><title>face</title><path d="M68 134A66 66 0 1 0 2 68a66 66 0 0 0 66 66z" fill="#fbfcfd" stroke="#a1acba" stroke-width="4"/><path d="M109.4 19.2A64.7 64.7 0 0 1 132 68.5 63.8 63.8 0 0 1 68.5 132a64.7 64.7 0 0 1-49.3-22.6A64.8 64.8 0 0 0 61.5 125 63.8 63.8 0 0 0 125 61.5a64.8 64.8 0 0 0-15.6-42.3z" style="isolation:isolate" fill="#ecf1ff"/><path d="M49.1 62.1a10 10 0 0 0-14.1 0M101.1 62.1a10 10 0 0 0-14.1 0" fill="none" stroke="#a1acba" stroke-linecap="round" stroke-width="5"/><path d="M42 88a36.8 36.8 0 0 0 52 0" fill="none" stroke="#a1acba" stroke-linecap="round" stroke-linejoin="round" stroke-width="5"/></svg>

After

Width:  |  Height:  |  Size: 681 B