From 35a1eb267019aeb1e4f18c8092e533b8bb18771a Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Mon, 8 Nov 2021 17:07:32 +0100
Subject: [PATCH] [update] template with no TVA

---
 templates/report_invoice_document.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/templates/report_invoice_document.xml b/templates/report_invoice_document.xml
index e05d590..e5258e7 100644
--- a/templates/report_invoice_document.xml
+++ b/templates/report_invoice_document.xml
@@ -23,6 +23,14 @@
             <xpath expr="//p[@name='payment_communication']" position="attributes">
                 <attribute name="t-if">o.company_id.is_tax</attribute>
             </xpath>
+            <!-- Affichage mention TVA -->
+            <xpath expr="//div[@id='total']/div" position="inside">
+                <t t-if="not o.company_id.is_tax">
+                    <p class="text-right" style="padding: 0; margin: 0;">
+                        <i>TVA non applicable art 293B du CGI</i>
+                    </p>
+                </t>
+            </xpath>
         </template>
 
     </data>
-- 
GitLab