From 08ff4727ba2928193e75cc80da8625d5ca4bc059 Mon Sep 17 00:00:00 2001
From: jordan <jordan@le-filament.com>
Date: Tue, 23 Nov 2021 16:54:48 +0100
Subject: [PATCH] [update] account invoice form view

---
 views/account_invoice.xml | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/views/account_invoice.xml b/views/account_invoice.xml
index d1b466a..cf42b55 100644
--- a/views/account_invoice.xml
+++ b/views/account_invoice.xml
@@ -34,6 +34,17 @@
                     <attribute name="invisible">True</attribute>
                 </xpath>
 
+
+                <xpath expr="//field[@name='beneficiary_id']" position="attributes">
+                    <attribute name="invisible">True</attribute>
+                </xpath>
+                <xpath expr="//field[@name='lf_note_ref_facture']" position="attributes">
+                    <attribute name="invisible">True</attribute>
+                </xpath>
+                <xpath expr="//field[@name='team_id']" position="attributes">
+                    <attribute name="invisible">True</attribute>
+                </xpath>
+
                 <xpath expr="//sheet/h1/div/label[1]" position="attributes">
                     <attribute name="string">Cotisation en brouillon</attribute>
                 </xpath>
@@ -67,6 +78,7 @@
                 <xpath expr="//field[@name='state']" position="after">
                     <field name="is_sdd" invisible="1"/>
                 </xpath>
+
             </field>
         </record>
 
-- 
GitLab