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

43 lines
1.3 KiB
XML

<data inherit_id="purchase.report_purchaseorder_document" priority="50">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
.table-sm {
padding: 0.3rem !important;
}
.table-sm td {
border-top: 1px solid #dee2e6 !important;
padding: 0.3rem !important;
}
.table-sm th {
border-top: 1px solid #dee2e6 !important;
padding: 0.3rem !important;
color: black;
}
table#info {
font-size: 9pt;
border: white;
}
h2 {
font-size: 1.2rem;
font-weight: bold;
margin: 50px 0 30px 0
}
body {
font-size: 11pt;
}
#th_description {
text-align: left;
}
</style>
</xpath>
<xpath expr="//div[@t-field='o.picking_type_id.warehouse_id.partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address"], "no_marker": True, "phone_icons": False}</attribute>
</xpath>
<xpath expr="//div[@t-field='o.partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True, "phone_icons": False}</attribute>
</xpath>
<xpath expr="//th[@name='th_description']" position="attributes">
<attribute name="style">text-align: left</attribute>
</xpath>
</data>