From 124fc3e34be454191e5de63fc1cfe066d3f87e6a Mon Sep 17 00:00:00 2001
From: benjamin <benjamin@le-filament.com>
Date: Tue, 12 Jul 2022 17:16:44 +0200
Subject: [PATCH] [clean] pre-commit

---
 static/src/scss/layout_generic.scss |  2 +-
 templates/report_account.xml        |  9 +++++++--
 templates/report_composition.xml    |  9 +++++----
 templates/report_delivery_ap.xml    | 17 +++++++++++------
 templates/report_sale.xml           |  4 ++--
 5 files changed, 26 insertions(+), 15 deletions(-)

diff --git a/static/src/scss/layout_generic.scss b/static/src/scss/layout_generic.scss
index 6f7cbb1..e4734c6 100644
--- a/static/src/scss/layout_generic.scss
+++ b/static/src/scss/layout_generic.scss
@@ -31,7 +31,7 @@ address .align-items-baseline {
     Layout Address
 ***/
 address span[itemprop="name"] {
-   font-size: 20px;
+    font-size: 20px;
 }
 
 /***
diff --git a/templates/report_account.xml b/templates/report_account.xml
index 1280c6a..02bd0c0 100644
--- a/templates/report_account.xml
+++ b/templates/report_account.xml
@@ -338,8 +338,13 @@
                                 </t>
                                 <t t-if="len(payments_vals) > 0">
                                     <tr class="border-black">
-                                        <td style="background-color: #fff; color: #000;"><strong>Montant dû</strong></td>
-                                        <td class="text-right" style="background-color: #fff; color: #000;">
+                                        <td
+                                            style="background-color: #fff; color: #000;"
+                                        ><strong>Montant dû</strong></td>
+                                        <td
+                                            class="text-right"
+                                            style="background-color: #fff; color: #000;"
+                                        >
                                             <span t-field="o.amount_residual" />
                                         </td>
                                     </tr>
diff --git a/templates/report_composition.xml b/templates/report_composition.xml
index 124e3af..96d435f 100644
--- a/templates/report_composition.xml
+++ b/templates/report_composition.xml
@@ -45,11 +45,12 @@
                             </div>
                             <!-- Adresse -->
                             <div class="offset-5 col-4">
-                                <h6 t-field="doc.partner_id.name" style="font-weight: bold; margin-bottom: 0;" />
+                                <h6
+                                    t-field="doc.partner_id.name"
+                                    style="font-weight: bold; margin-bottom: 0;"
+                                />
                                 <t t-if="doc.partner_id.street">
-                                    <span
-                                        t-field="doc.partner_id.street"
-                                    /><br /></t>
+                                    <span t-field="doc.partner_id.street" /><br /></t>
                                 <t t-if="doc.partner_id.street2"><span
                                         t-field="doc.partner_id.street2"
                                     /><br /></t>
diff --git a/templates/report_delivery_ap.xml b/templates/report_delivery_ap.xml
index f11d99e..7073449 100644
--- a/templates/report_delivery_ap.xml
+++ b/templates/report_delivery_ap.xml
@@ -70,7 +70,9 @@
                             <t t-foreach="set(product_category)" t-as="category">
                                 <tr>
                                     <td colspan="4">
-                                        <div style="padding-left: 20px;"><strong t-esc="category.name" /></div>
+                                        <div style="padding-left: 20px;"><strong
+                                                t-esc="category.name"
+                                            /></div>
                                     </td>
                                 </tr>
 
@@ -88,7 +90,10 @@
                                                     t-field="l.product_id.description_picking"
                                                 />
                                             </td>
-                                            <td class="text-right" style="background-color: #e9ecef; border-right: 0;">
+                                            <td
+                                                class="text-right"
+                                                style="background-color: #e9ecef; border-right: 0;"
+                                            >
                                                 <span
                                                     t-if="l.state != 'done'"
                                                     t-field="l.product_uom_qty"
@@ -99,10 +104,10 @@
                                                 />
                                             </td>
                                             <td style="border-left: 0; width: 40px;">
-                                                <t t-if="l.product_uom.id != %(uom.product_uom_unit)d">
-                                                    <span
-                                                        t-field="l.product_uom"
-                                                    />
+                                                <t
+                                                    t-if="l.product_uom.id != %(uom.product_uom_unit)d"
+                                                >
+                                                    <span t-field="l.product_uom" />
                                                 </t>
                                             </td>
                                         </tr>
diff --git a/templates/report_sale.xml b/templates/report_sale.xml
index 19a21f8..58ff04a 100644
--- a/templates/report_sale.xml
+++ b/templates/report_sale.xml
@@ -18,10 +18,10 @@
             </h3>
         </xpath>
         <!-- Masque titre initial -->
-        <xpath expr="//h2[hasclass('mt16')]"  position="attributes">
+        <xpath expr="//h2[hasclass('mt16')]" position="attributes">
             <attribute name="style">display: none;</attribute>
         </xpath>
-        
+
         <!-- Masque Shipping & Invoice address -->
         <xpath expr="//t[@t-set='information_block']" position="replace" />
 
-- 
GitLab