Files
Odoo-Build/snippets/purchase.report_purchaseorder_document.style_moser.xml
T

40 lines
1.4 KiB
XML

<data inherit_id="purchase.report_purchaseorder_document" priority="50">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
.o_company_1_layout {
font-family: arial;
}
.o_company_1_layout.o_report_layout_standard h2 {
color: black;
font-size: 1.4rem;
font-weight: bold;
}
.o_company_1_layout.o_report_layout_standard #total strong {
color: black;
}
div#informations {
margin-top: 30px;
margin-bottom: 60px;
}
h2.mt-4 {
margin-top: 70px !important;
}
td#taxes_amount {
text-align: right;
}
</style>
</xpath>
<xpath expr="//th[@name='th_description']" position="attributes">
<attribute name="style" separator=" " add="text-align: left"/>
</xpath>
<xpath expr="//span[@t-field='line.date_planned']" position="attributes">
<attribute name="t-options-widget">"date"</attribute>
</xpath>
<xpath expr="/t[1]/t[1]/t[4]/t[1]/div[1]/div[1]" position="attributes">
<attribute name="t-options-fields">['address']</attribute>
</xpath>
<xpath expr="//div[@t-field='o.partner_id']" position="attributes">
<attribute name="t-options-fields">['address', 'name']</attribute>
</xpath>
</data>