Fix CSS loading: copy odoo_web.css to frontend, handle /odoo/ static paths

- Copy build/odoo_web.css to frontend/web/static/ so it's served correctly
- Handle /odoo/<addon>/static/ paths in static file handler (strip odoo/ prefix)
- Route /odoo/ paths with /static/ to static handler instead of webclient

All CSS now loads correctly: Bootstrap, FontAwesome, Odoo UI icons, modules.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Marc
2026-04-01 00:47:14 +02:00
parent 8616def7aa
commit 06cd2755bc
4 changed files with 19 additions and 1 deletions

File diff suppressed because one or more lines are too long