From 19b39c646870bc23fd98a29b038a9390d1141f66 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Mon, 20 Jan 2025 15:13:56 +0100
Subject: [PATCH] [FIX] get fix from PR iso extra remote

---
 14.0.Dockerfile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/14.0.Dockerfile b/14.0.Dockerfile
index 8f64b12..9be500e 100644
--- a/14.0.Dockerfile
+++ b/14.0.Dockerfile
@@ -46,9 +46,8 @@ RUN set -x; \
   && git clone --filter=tree:0 --branch "${branch}" "${repo}" /tmp/repo \
     && commit="$(git -C /tmp/repo rev-parse HEAD)" \
     # FIX begin: Merge pull request https://github.com/OCA/OCB/pull/1234
-    && git -C /tmp/repo remote add odoolf https://github.com/lefilament/odoo \
-    && git -C /tmp/repo fetch odoolf 14.0-fix-crm_lead-email \
-    && git -C /tmp/repo checkout odoolf/14.0-fix-crm_lead-email \
+    && git -C /tmp/repo fetch origin pull/1234/head:14.0-fix-crm_lead-email \
+    && git -C /tmp/repo checkout 14.0-fix-crm_lead-email \
     && git -C /tmp/repo rebase origin/${branch} \
     # FIX end
     && mv /tmp/repo/* /opt/odoo/odoo/ \
-- 
GitLab