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,24 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="512px" height="512px" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;">
<g transform="matrix(1,0,0,1,-734,0)">
<g id="Artboard3" transform="matrix(0.741178,0,0,0.73941,189.822,133.422)">
<rect x="734.208" y="-180.444" width="690.792" height="692.444" style="fill:none;"/>
<g id="g2221" transform="matrix(5.72329,0,0,5.73697,406.05,-691.239)">
<g id="Layer-2" serif:id="Layer 2">
<g id="g22211" serif:id="g2221">
<g id="path26" transform="matrix(1.7333,0,0,1.72464,-36.9275,-59.3636)">
<ellipse cx="89.202" cy="121.039" rx="32.302" ry="32.464" style="fill:white;"/>
</g>
<g id="path28" transform="matrix(1.00106,0,0,1.00171,-0.641439,-0.841358)">
<ellipse cx="118.203" cy="149.97" rx="49.218" ry="49.185" style="fill:rgb(113,75,103);"/>
</g>
<g id="path859" transform="matrix(1.00285,0,0,0.996901,-0.432423,-0.053773)">
<ellipse cx="118.239" cy="149.903" rx="29.619" ry="29.796" style="fill:white;"/>
</g>
</g>
</g>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB