From 5e209198608c78601f2942c421ed05896d02b30d Mon Sep 17 00:00:00 2001
From: Juliana <juliana@le-filament.com>
Date: Thu, 2 Dec 2021 11:20:06 +0100
Subject: [PATCH] Adapt sequence + add picto cat sequence

---
 static/src/scss/layout_generic.scss    |  4 ++++
 views/report_composition_templates.xml | 12 +++++++++---
 2 files changed, 13 insertions(+), 3 deletions(-)

diff --git a/static/src/scss/layout_generic.scss b/static/src/scss/layout_generic.scss
index 3e50c00..38dbe06 100644
--- a/static/src/scss/layout_generic.scss
+++ b/static/src/scss/layout_generic.scss
@@ -44,6 +44,10 @@ address .align-items-baseline {
     font-size: 17px;
 }
 
+.o_report_layout_boxed .row:not(#total) > div > table.table-compo tbody tr:not(:last-child) td:last-child{
+    background-color: #fff !important;
+}
+
 .o_report_compo{
     font-size: 13px !important;
 }
diff --git a/views/report_composition_templates.xml b/views/report_composition_templates.xml
index b58c0eb..7375fe1 100644
--- a/views/report_composition_templates.xml
+++ b/views/report_composition_templates.xml
@@ -54,9 +54,9 @@
                                     t-as="intervention"
                                 >
                                     <div class="col-4">
-                                        <span class="text-center">INTERVENTION N° <span
+                                        <p class="m-0 text-center">INTERVENTION N° <span
                                                 t-field="intervention.name"
-                                            /></span>
+                                            /></p>
                                         <t
                                             t-if="intervention.sequence_type == 'sequence'"
                                         >
@@ -120,7 +120,13 @@
                                                                 /></td>
                                                             <td><t
                                                                     t-if="compo.product_alternance_id"
-                                                                >OU</t></td>
+                                                                >ou</t></td>
+                                                            <td class="text-center">
+                                                                <t t-if="compo.product_alternance_id.categ_id.symbol">
+                                                                    <i t-attf-class="fa {{compo.product_alternance_id.categ_id.symbol}}"
+                                                                />
+                                                                </t>
+                                                            </td>
                                                             <td><t
                                                                     t-if="compo.product_alternance_id"
                                                                 ><span
-- 
GitLab