Files
Odoo-Build/snippets/stock.report_delivery_document.style_airwork.xml
T
2025-07-29 18:16:25 +02:00

47 lines
1.7 KiB
XML

<data inherit_id="stock.report_delivery_document" priority="60">
<xpath expr="//div[hasclass('page')]" position="before">
<style>
h2 {
margin-top: 40px;
}
</style>
</xpath>
<xpath expr="//div[@t-out='o.move_ids[0].partner_id or o.partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True}</attribute>
</xpath>
<xpath expr="//div[@t-field='o.picking_type_id.warehouse_id.partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True}</attribute>
</xpath>
<xpath expr="//div[@t-field='partner.commercial_partner_id']" position="attributes">
<attribute name="t-options">{"widget": "contact", "fields": ["address", "name"], "no_marker": True}</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_position']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_product']" position="attributes">
<attribute name="class">text-start</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_ordered']" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
<xpath expr="//th[@name='th_sm_quantity']" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[3]" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
<xpath expr="//table[@name='stock_move_table']//td[4]" position="attributes">
<attribute name="class">text-end</attribute>
</xpath>
</data>