From 0f3bd9b50f298c5d4733e33360fb758bf3f5d37d Mon Sep 17 00:00:00 2001
From: Jordan - Le Filament <jordan@le-filament.com>
Date: Thu, 9 Jun 2022 14:30:16 +0200
Subject: [PATCH] [fix] inheritance field hook for v13

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

diff --git a/views/account_move_view.xml b/views/account_move_view.xml
index f9ecd87..8989dc6 100644
--- a/views/account_move_view.xml
+++ b/views/account_move_view.xml
@@ -8,7 +8,7 @@
         <field name="name">account.move.form</field>
         <field name="model">account.move</field>
         <field name="arch" type="xml">
-            <xpath expr="//field[@name='payment_reference']" position="before">
+            <xpath expr="//field[@name='ref']" position="after">
                 <field
                     name="beneficiary_id"
                     attrs="{'invisible': [('type', 'not in', ('out_invoice', 'out_refund'))]}"
-- 
GitLab