Files
Odoo-Build/snippets/purchase.report_purchasequotation_document.add_infoblock.xml
T
2025-04-23 15:30:36 +02:00

27 lines
1.2 KiB
XML

<data inherit_id="purchase.report_purchasequotation_document" priority="50">
<xpath expr="//h2" position="after">
<div id="infoblock" class="row mt32 mb32">
<div t-if="o.user_id" class="col-3 bm-2">
<strong>Buyer</strong>
<p t-field="o.user_id.email" class="m-0"/>
</div>
<div class="col-2 bm-2">
<strong>Date</strong>
<p t-field="o.write_date" class="m-0" t-options="{ &quot;widget&quot;: &quot;date&quot; }"/>
</div>
<div t-if="o.partner_ref" class="col-3 bm-2">
<strong>Your Order Reference</strong>
<p t-field="o.partner_ref" class="m-0"/>
</div>
<div t-if="o.date_order" class="col-3 bm-2">
<strong>Deadline for submission of offer</strong>
<p t-field="o.date_order" class="m-0" t-options="{ &quot;widget&quot;: &quot;date&quot; }"/>
</div>
<div t-if="o.incoterm_id" class="col-3 bm-2">
<strong>Incoterm</strong>
<p t-field="o.incoterm_id.code" class="m-0"/>
</div>
</div>
</xpath>
</data>