Files
Odoo-Build/snippets/account.report_invoice_document.style_tissa.xml
T
2025-05-10 18:31:57 +02:00

44 lines
1.6 KiB
XML

<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
table#info {
font-size: 9pt;
font-family: arial;
}
h2 {
font-size: 1.2rem;
font-weight: bold;
margin: 50px 0 30px 0
}
body {
font-size: 11pt;
font-family: arial;
}
</style>
</xpath>
<xpath expr="//table[@name='invoice_line_table']" position="attributes">
<attribute name="class">table table-sm o_main_table</attribute>
</xpath>
<xpath expr="//table[@name='invoice_line_table']//th[@id='position']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//table[@name='invoice_line_table']/thead/tr/th[5]" position="attributes">
<attribute name="t-attf-class">text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}</attribute>
</xpath>
<xpath expr="//table[@name='invoice_line_table']/tbody/t/tr/t/td[5]" position="attributes">
<attribute name="t-attf-class">text-end {{ 'd-none d-md-table-cell' if report_type == 'html' else '' }}</attribute>
</xpath>
<xpath expr="//p[@name='payment_communication']" position="attributes">
<attribute name="style">margin-bottom: 0px</attribute>
</xpath>
<!--
<xpath expr="//p[@name='payment_term']" position="attributes">
<attribute name="style">margin-bottom: 0px</attribute>
</xpath>
-->
</data>