From 8d589776a145bc7987ecb7711fb97bb4bcc83b87 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Th=C3=A9o=20-=20Le=20Filament?= <theo@le-filament.com>
Date: Mon, 5 May 2025 13:30:39 +0200
Subject: [PATCH] [FIX] xpath expression

---
 views/hr_timesheet_templates.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/views/hr_timesheet_templates.xml b/views/hr_timesheet_templates.xml
index 50cf3c4..08b357e 100644
--- a/views/hr_timesheet_templates.xml
+++ b/views/hr_timesheet_templates.xml
@@ -9,7 +9,7 @@
         <field name="inherit_id" ref="sale_timesheet.timesheet_plan" />
         <field name="arch" type="xml">
              <xpath
-                expr="div[hasclass('o_project_plan_project_timesheet_forecast')"
+                expr="//div[hasclass('o_project_plan_project_timesheet_forecast')]"
                 position="replace"
             >
                 <div class="o_project_plan_project_timesheet_forecast">
-- 
GitLab