From b1b7ad798d0200417f1dbe764527ef57b2df6b91 Mon Sep 17 00:00:00 2001
From: Juliana <juliana@le-filament.com>
Date: Tue, 24 Jan 2023 18:19:56 +0100
Subject: [PATCH] [UPD]Update display fields

---
 views/acc_counter_views.xml | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/views/acc_counter_views.xml b/views/acc_counter_views.xml
index a93ac90..702e8bc 100644
--- a/views/acc_counter_views.xml
+++ b/views/acc_counter_views.xml
@@ -57,6 +57,10 @@
                     </div>
                 </div>
                 <group name="infos" position="after">
+                    <group>
+                        <field name="sale_price" attrs="{'invisible': [('is_delivery', '!=', True)]}"/>
+                        <field name="price_accise" attrs="{'invisible': [('is_delivery', '!=', True)]}"/>
+                    </group>
                     <notebook>
                         <page
                             string="Facturation"
@@ -69,8 +73,6 @@
                                         name="is_account_auto_activate"
                                         widget="boolean_toggle"
                                     />
-                                    <field name="sale_price"/>
-                                    <field name="price_accise"/>
                                 </group>
                                 <group>
                                     <field
-- 
GitLab