fix(hoot-dom): derive shim version from odoo tag for Odoo 19 compat

This commit is contained in:
OdooSky v3
2026-05-09 01:19:45 +02:00
parent 55d069cd4d
commit 961f31998e
2 changed files with 11 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ description: |
Variation between instances is expressed via values.yaml only.
No chart variants. No string-templating in Tower.
type: application
version: 0.1.4
version: 0.1.5
appVersion: "1.0"
keywords:
- odoo

View File

@@ -161,11 +161,19 @@ spec:
}
);
JSEOF
cat > /target/odoosky_hoot_dom_shim/__manifest__.py <<'PYEOF'
# Manifest version MUST start with "<odoo_major>.0." or
# Odoo refuses to install with: "incompatible version,
# setting installable=False" (v19 ran into this — shim
# was hardcoded as 18.0.1.0.2 and silently became
# uninstallable, leaving the bundle without hoot-dom).
# Render the major from .Values.odoo.tag so the shim is
# compatible across every Odoo major in `pinnedTags`.
cat > /target/odoosky_hoot_dom_shim/__manifest__.py <<PYEOF
{
'name': 'OdooSky hoot-dom backend shim',
'version': '18.0.1.0.2',
'version': '{{ .Values.odoo.tag }}.1.0.3',
'category': 'Hidden',
'author': 'OdooSky',
'summary': 'Register @odoo/hoot-dom alias in web.assets_backend (workaround for upstream alias-not-honored bug)',
'depends': ['web'],
'assets': {