From 4c7eab94cbff5716a14758fa6ecf78ab16ba9f8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Mon, 10 Jul 2023 16:49:43 +0200
Subject: [PATCH] [FIX] missing default(false) on banking

---
 templates/docker-compose.yaml.j2 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/docker-compose.yaml.j2 b/templates/docker-compose.yaml.j2
index bb1016e..e0b3fce 100644
--- a/templates/docker-compose.yaml.j2
+++ b/templates/docker-compose.yaml.j2
@@ -21,7 +21,7 @@ services:
         volumes:
             - filestore:/opt/odoo/data:z
 {# if prod and banking #}
-{% if item.value.prod_instance | default(false) == item.key and banking %}
+{% if item.value.prod_instance | default(false) == item.key and banking | default(false) %}
             - ./bank/:/ofx/:ro
 {% endif %}
 {% if private_pull is defined %}
-- 
GitLab