From 961f31998ed12c912ade211f68fe1997af3b320a Mon Sep 17 00:00:00 2001 From: OdooSky v3 Date: Sat, 9 May 2026 01:19:45 +0200 Subject: [PATCH] fix(hoot-dom): derive shim version from odoo tag for Odoo 19 compat --- Chart.yaml | 2 +- templates/odoo-deployment.yaml | 12 ++++++++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/Chart.yaml b/Chart.yaml index 8d26929..3ee6034 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -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 diff --git a/templates/odoo-deployment.yaml b/templates/odoo-deployment.yaml index 32bfd11..a407b66 100644 --- a/templates/odoo-deployment.yaml +++ b/templates/odoo-deployment.yaml @@ -161,11 +161,19 @@ spec: } ); JSEOF - cat > /target/odoosky_hoot_dom_shim/__manifest__.py <<'PYEOF' + # Manifest version MUST start with ".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 <