From c95a93943391a48831455ce465fb480e0bcff8fc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Tue, 16 Jan 2024 18:37:34 +0100
Subject: [PATCH] [FIX] get different t-att-value if PRM for multiple partners

---
 templates/operation_templates_page.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/operation_templates_page.xml b/templates/operation_templates_page.xml
index 71a49f1..7f77670 100644
--- a/templates/operation_templates_page.xml
+++ b/templates/operation_templates_page.xml
@@ -236,7 +236,7 @@
                                     class="nav-item"
                                 >
                                     <option
-                                        t-att-value="prm.id"
+                                        t-att-value="prm.name + p.sudo().name"
                                         t-att-data-name="'PRM n°' + prm.name"
                                         t-att-data-prm-id="prm.id"
                                         t-att-data-partner-id="p.id"
-- 
GitLab