93 lines
2.9 KiB
XML
93 lines
2.9 KiB
XML
<data inherit_id="account.report_invoice_document" priority="50">
|
|
|
|
<xpath expr="//div[@id='informations']" 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="info" style="width: 700px; margin-bottom: 50px">
|
|
<tr>
|
|
<t t-if="o.date_order">
|
|
<td width="200px">Order Date</td>
|
|
<td width="500px">
|
|
|
|
<span id="date_order" t-field="o.date_order" t-options="{ "widget": "date" }"/>
|
|
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
<tr>
|
|
<t t-if="o.client_order_ref">
|
|
<td>Your Reference</td>
|
|
<td>
|
|
|
|
<span t-field="o.client_order_ref"/>
|
|
|
|
</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.commitment_date">
|
|
<td>Delivery Date</td>
|
|
<td>
|
|
<span t-field="o.commitment_date" t-options="{ "widget": "date" }"/>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
<tr>
|
|
<t t-if="o.incoterm">
|
|
<td>Incoterm</td>
|
|
<td>
|
|
<span t-field="o.incoterm.name"/>
|
|
</td>
|
|
</t>
|
|
</tr>
|
|
<tr>
|
|
<t t-if="o.payment_term_id">
|
|
<td>Payment terms</td>
|
|
<td>
|
|
<span t-field="o.payment_term_id"/>
|
|
</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>
|