From 4ee0249ed014e597528926add83f2e6302c119bb Mon Sep 17 00:00:00 2001
From: Benjamin <benjamin@le-filament.com>
Date: Mon, 20 Apr 2020 13:09:08 +0200
Subject: [PATCH] [cgscop #146] modification ordre LdT + marges affichage

---
 report/report_hr_timesheet.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/report/report_hr_timesheet.xml b/report/report_hr_timesheet.xml
index 509d97d..9f50435 100644
--- a/report/report_hr_timesheet.xml
+++ b/report/report_hr_timesheet.xml
@@ -41,7 +41,7 @@
                             </tr>
                         </thead>
                         <tbody class="invoice_tbody">
-                            <t t-foreach="o.timesheet_line_ids" t-as="line">
+                            <t t-foreach="o.timesheet_line_ids.sorted('date')" t-as="line">
                                 <tr>
                                     <td><span t-field="line.date"/></td>
                                     <td><span t-field="line.project_id"/></td>
@@ -96,12 +96,12 @@
             <field name="default" eval="True"/>
             <field name="format">A4</field>
             <field name="orientation">Landscape</field>
-            <field name="margin_top">10</field>
-            <field name="margin_bottom">25</field>
+            <field name="margin_top">35</field>
+            <field name="margin_bottom">20</field>
             <field name="margin_left">10</field>
             <field name="margin_right">10</field>
             <field name="header_line" eval="False"/>
-            <field name="header_spacing">0</field>
+            <field name="header_spacing">30</field>
             <field name="dpi">90</field>
         </record>
 
-- 
GitLab