fix(hoot-dom): derive shim version from odoo tag for Odoo 19 compat
This commit is contained in:
@@ -5,7 +5,7 @@ description: |
|
|||||||
Variation between instances is expressed via values.yaml only.
|
Variation between instances is expressed via values.yaml only.
|
||||||
No chart variants. No string-templating in Tower.
|
No chart variants. No string-templating in Tower.
|
||||||
type: application
|
type: application
|
||||||
version: 0.1.4
|
version: 0.1.5
|
||||||
appVersion: "1.0"
|
appVersion: "1.0"
|
||||||
keywords:
|
keywords:
|
||||||
- odoo
|
- odoo
|
||||||
|
|||||||
@@ -161,11 +161,19 @@ spec:
|
|||||||
}
|
}
|
||||||
);
|
);
|
||||||
JSEOF
|
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',
|
'name': 'OdooSky hoot-dom backend shim',
|
||||||
'version': '18.0.1.0.2',
|
'version': '{{ .Values.odoo.tag }}.1.0.3',
|
||||||
'category': 'Hidden',
|
'category': 'Hidden',
|
||||||
|
'author': 'OdooSky',
|
||||||
'summary': 'Register @odoo/hoot-dom alias in web.assets_backend (workaround for upstream alias-not-honored bug)',
|
'summary': 'Register @odoo/hoot-dom alias in web.assets_backend (workaround for upstream alias-not-honored bug)',
|
||||||
'depends': ['web'],
|
'depends': ['web'],
|
||||||
'assets': {
|
'assets': {
|
||||||
|
|||||||
Reference in New Issue
Block a user