[IMP] purchase: improve the purchase order report.

The purpose of this commit is, remove "our order reference" because it is already in the title, replace purchase order confirmation by purchase order and add the purchase representative.

Task Id #1902886

closes odoo/odoo#31099

Signed-off-by: Simon Lejeune (sle) <sle@openerp.com>
This commit is contained in:
Rishabh Jadia
2019-02-21 09:45:56 +00:00
parent 2e1d7f8519
commit ac45703e27
@@ -23,13 +23,13 @@
<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 in ['purchase', 'done']">Purchase Order #<span t-field="o.name"/></h2>
<h2 t-if="o.state == 'cancel'">Cancelled Purchase Order #<span t-field="o.name"/></h2>
<div id="informations" class="row mt32 mb32">
<div t-if="o.name" class="col-3 bm-2">
<strong>Our Order Reference:</strong>
<p t-field="o.name" class="m-0"/>
<div t-if="o.user_id" class="col-3 bm-2">
<strong>Purchase Representative:</strong>
<p t-field="o.user_id" class="m-0"/>
</div>
<div t-if="o.partner_ref" class="col-3 bm-2">
<strong>Your Order Reference:</strong>