From 4c3a2d9bc928dc9d5f4e03878ee7c7a57eb3f49b Mon Sep 17 00:00:00 2001 From: Yann Papouin Date: Thu, 8 Jan 2026 09:51:15 +0100 Subject: [PATCH] [FIX] document_url: Easier template inheriting - In a first step, instead of replacing a node content with its verbatim copy, we uses the xpath "replace" command with "$0" magic keyword to move all the content into a
. - In a second step, the "Add URL" button is added after the existing "Attach files"button. --- document_url/static/src/xml/url.xml | 36 +++++++++++------------------ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/document_url/static/src/xml/url.xml b/document_url/static/src/xml/url.xml index f66be7d174d..165578e4797 100644 --- a/document_url/static/src/xml/url.xml +++ b/document_url/static/src/xml/url.xml @@ -2,30 +2,20 @@ - + - - -
- - -
-
+ +
$0
+
+ +