Files
Odoo-Build/snippets/stock.report_delivery_document.replace_informations.xml
T

47 lines
1.8 KiB
XML

<data inherit_id="stock.report_delivery_document" priority="50">
<xpath expr="//div[@class='page']/div[1]" position="replace">
<style>
div#informations p {
margin-bottom: 0rem;
}
div#informations div {
display: inline-block;
vertical-align: top;
}
</style>
<div id="informations">
<table class="table table-borderless table-sm">
<tr>
<td>
<strong>Versanddatum:</strong>
<t t-if="o.state == 'done'">
<span t-field="o.date_done" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
</t>
<t t-if="o.state != 'done'">
<span t-field="o.scheduled_date" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
</t>
</td>
<td>
<strong>Unser Kontakt:</strong>
<span t-field="o.sudo().sale_id.user_id"/>
</td>
<td>
<strong>Ihr Kontakt:</strong>
<span t-field="o.sudo().sale_id.partner_sale_id.name"/>
</td>
</tr>
<tr>
<td colspan="2">
<strong>&#xA0;Unsere Referenz:</strong>
<span t-field="o.origin"/>
</td>
<td t-if="o.sudo().sale_id.client_order_ref">
<strong>Ihre Referenz:</strong>
<span t-field="o.sudo().sale_id.client_order_ref"/>
</td>
</tr>
</table>
</div>
</xpath>
</data>