Files
Odoo-Build/snippets/account.report_invoice_document.style_trimada.xml
T

93 lines
2.2 KiB
XML

<data inherit_id="account.report_invoice_document" priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
.o_company_1_layout {
font-family: arial;
}
table.trimada {
font-size: 9pt;
font-family: arial;
color: black;
}
table.trimada tr.first td {
padding-bottom: 0;
}
table.trimada tr.second td {
padding-top: 0;
}
table.trimada tr.second {
border-bottom: 1px solid rgb(220,220,220);
}
table.trimada thead tr {
border-top:solid 1px;
border-bottom: solid 1px;
}
table.trimada thead th#position {
width: 5mm;
}
table.trimada thead th#default_code {
width: 27mm;
text-align: right;
}
table.trimada thead th#open_quantity {
width: 30mm;
text-align: right;
}
table.trimada thead th#quantity {
width: 25mm;
text-align: right !important;
}
table.trimada tbody td#position {
text-align: right;
}
table.trimada tbody td#default_code {
text-align: right;
}
table.trimada tbody td#open_quantity {
text-align: right !important;
}
table.trimada tbody td#quantity {
text-align: right;
}
table.trimada tbody span#qty {
font-weight: bold;
}
table.trimada tbody span#open_qty {
font-weight: bold;
}
address {
line-height: 1.2;
}
.mb-0 span {
line-height: 1.2;
}
.address {
font-size: 10pt;
line-height: 1.2 !important;
padding-bottom:33mm;
}
.subtitel {
font-size: 11pt;
font-family: arial;
margin-top: 10mm;
}
.note {
font-size: 9pt;
font-family: arial;
}
</style>
</xpath>
<table name="invoice_line_table" position="attributes">
<attribute name="class" separator=" " add="trimada table-borderless"/>
</table>
<table name="invoice_line_table" position="attributes">
<attribute name="class" separator=" " add="trimada table-borderless"/>
</table>
<span id="qty" position="attributes">
<attribute name="t-options-widget">"integer"</attribute>
</span>
<div id="total" position="attributes">
<attribute name="style">font-size: 9pt; color: blue</attribute>
</div>
</data>