fix(hoot-dom): derive shim version from odoo tag for Odoo 19 compat
This commit is contained in:
@@ -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': {
|
||||
|
||||
Reference in New Issue
Block a user