Browse Source

[FIX] Reduce margin footer and change size line table

pull/1/head
Ny Zo 2 months ago
parent
commit
302aad4f7c
  1. 2
      data/paperformat_custom.xml
  2. 4
      views/report_invoice_template.xml

2
data/paperformat_custom.xml

@ -9,7 +9,7 @@
<field name="page_width">0</field>
<field name="orientation">Portrait</field>
<field name="margin_top">40</field>
<field name="margin_bottom">100</field>
<field name="margin_bottom">90</field>
<field name="margin_left">7</field>
<field name="margin_right">7</field>
<field name="header_line" eval="False" />

4
views/report_invoice_template.xml

@ -104,7 +104,7 @@
</div>
<br/>
<div class="row mt32" style="font-size: 72%; margin-bottom: 100px;">
<div class="row mt32" style="font-size: 72%; margin-bottom: 20px;">
<p t-field="o.company_id.ref_footer" />
</div>
<div class="text-center mt32"
@ -250,7 +250,7 @@
</th>
</tr>
</thead>
<tbody class="invoice_tbody">
<tbody class="invoice_tbody" style="font-size: 90%;">
<t t-set="current_subtotal" t-value="0"/>
<t t-set="lines"
t-value="o.invoice_line_ids.sorted(key=lambda l: (-l.sequence, l.date, l.move_name, -l.id), reverse=True)"/>

Loading…
Cancel
Save