From 369a350d1696cb93a56cd57f3c88665776624469 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com>
Date: Tue, 27 Feb 2024 17:39:45 +0100
Subject: [PATCH] [UPD] move button before tree

---
 views/acc_operation_views.xml | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/views/acc_operation_views.xml b/views/acc_operation_views.xml
index 4b6a007..b5c4feb 100644
--- a/views/acc_operation_views.xml
+++ b/views/acc_operation_views.xml
@@ -9,6 +9,12 @@
         <field name="arch" type="xml">
             <xpath expr="//notebook" position="inside">
                 <page string="Clés de répartition" name="keys">
+                    <button
+            string="Importer un fichier"
+            type="action"
+            name="%(oacc_repartition_keys.acc_repartition_keys_wizard_action)d"
+            class="btn-primary"
+          />
                     <field name="keys_repartition_ids" mode="tree">
                         <tree create="0" editable="bottom" delete="0">
                             <field name="date_send" readonly="1" />
@@ -22,12 +28,6 @@
               />
                         </tree>
                     </field>
-                <button
-            string="Importer un fichier"
-            type="action"
-            name="%(oacc_repartition_keys.acc_repartition_keys_wizard_action)d"
-            class="btn-primary"
-          />
                 </page>
             </xpath>
         </field>
-- 
GitLab