[FIX] purchase: Display a more accurate title on purchase report

This commit is contained in:
Wolfgang Taferner
2018-02-06 06:32:17 +01:00
committed by Yannick Tivisse
parent 392fa1471e
commit 3b8ba47f11
@@ -25,9 +25,10 @@
<p t-if="o.partner_id.vat"><t t-esc="o.company_id.country_id.vat_label or 'TIN'"/>: <span t-field="o.partner_id.vat"/></p>
</div>
</div>
<h2 t-if="o.state != 'draft'">Purchase Order Confirmation #<span t-field="o.name"/></h2>
<h2 t-if="o.state == 'draft'">Request for Quotation #<span t-field="o.name"/></h2>
<h2 t-if="o.state in ['sent', 'to approve']">Purchase Order #<span t-field="o.name"/></h2>
<h2 t-if="o.state in ['purchase', 'done']">Purchase Order Confirmation #<span t-field="o.name"/></h2>
<h2 t-if="o.state == 'cancel'">Cancelled Purchase Order #<span t-field="o.name"/></h2>
<div class="row mt32 mb32">
<div t-if="o.name" class="col-xs-3">