84 lines
2.6 KiB
XML
84 lines
2.6 KiB
XML
<data inherit_id="stock.report_delivery_document" priority="50">
|
|
|
|
<xpath expr="//div[@name='div_origin']/.." position="replace">
|
|
|
|
<style>
|
|
table#info {
|
|
width: 100%;
|
|
margin-bottom: 25px;
|
|
border: transparent;
|
|
}
|
|
table#info td {
|
|
color: black;
|
|
border: transparent;
|
|
}
|
|
table#info td:last-child {
|
|
background-color: transparent;
|
|
}
|
|
table#info tr {
|
|
text-align: top;
|
|
}
|
|
</style>
|
|
|
|
<table id="infotable" style="width: 700px; margin-bottom: 50px">
|
|
<tr>
|
|
<t t-if="o.date_done">
|
|
<td width="200px">Delivery Date</td>
|
|
<td width="500px">
|
|
<span id="date_done" t-field="o.date_done" t-options="{ "widget": "date" }"/>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
<tr>
|
|
<t t-if="o.sale_id.client_order_ref">
|
|
<td>Your Reference</td>
|
|
<td>
|
|
<span t-field="o.sale_id.client_order_ref"/>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
<tr>
|
|
<t t-if="o.origin">
|
|
<td>Order Reference</td>
|
|
<td>
|
|
<span t-field="o.origin"/>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<t t-if="o.sale_id.incoterm">
|
|
<td>Incoterm</td>
|
|
<td>
|
|
<span t-field="o.sale_id.incoterm.name"/>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
|
|
|
|
<tr>
|
|
<t t-if="o.partner_id.parent_id">
|
|
<td>Your Contact</td>
|
|
<td>
|
|
<span t-field="o.partner_id.name"/>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
<tr>
|
|
<t t-if="o.user_id">
|
|
<td>Our Contact</td>
|
|
<td>
|
|
<span t-field="o.user_id"/>
|
|
<t t-if="o.user_id.email">
|
|
, <span t-field="o.user_id.email"/>
|
|
</t>
|
|
<t t-if="o.user_id.phone">
|
|
, <span t-field="o.user_id.phone"/>
|
|
</t>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
</table>
|
|
</xpath>
|
|
</data> |