diff --git a/12.0_ml.Dockerfile b/12.0_ml.Dockerfile index acaa303b131f3b3519fded0bb17bbc2941d87670..890f5bf2ced8e048c540365b4055421425cec9a8 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