From 1392c33db78f77c57dd915e4b5e7081ca94fef1b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Thu, 27 Oct 2022 10:16:23 +0200
Subject: [PATCH] [UPD] use OCB PR 1141

---
 12.0_ml.Dockerfile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/12.0_ml.Dockerfile b/12.0_ml.Dockerfile
index acaa303..890f5bf 100644
--- a/12.0_ml.Dockerfile
+++ b/12.0_ml.Dockerfile
@@ -50,11 +50,13 @@ RUN set -x; \
 # Add Git Known Hosts
 COPY ./ssh_known_git_hosts /root/.ssh/known_hosts
 
-# Install Odoo and remove not French translations and .git directory to limit amount of data used by container
+# Install Odoo and remove .git directory to limit amount of data used by container
 RUN set -x; \
         useradd -l --create-home --home-dir /opt/odoo --no-log-init odoo &&\
         /bin/bash -c "mkdir -p /opt/odoo/{etc,odoo,additional_addons,private_addons,data,private}" &&\
-        git clone -b 12.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
+        # RC get fix for export (until https://github.com/OCA/OCB/pull/1141 is merged)
+        #git clone -b 12.0 --depth 1 https://github.com/OCA/OCB.git /opt/odoo/odoo &&\
+        git clone -b 12.0-imp_export_of_m2m --depth 1 https://github.com/lefilament/odoo.git /opt/odoo/odoo &&\
         rm -rf /opt/odoo/odoo/.git &&\
         chown -R odoo:odoo /opt/odoo
 
-- 
GitLab