diff options
| author | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2012-05-25 16:35:49 +0200 |
|---|---|---|
| committer | Quentin (OpenERP) <qdp-launchpad@openerp.com> | 2012-05-25 16:35:49 +0200 |
| commit | ab07d440cebf99a3e819258f6c5e3a1fbcdcf113 (patch) | |
| tree | 10f4ad45f805d3193ba821fa67d4f4b8ecf8ab96 /addons/edi/static/src/xml | |
| parent | c4d31012d1c6cf2c1b1deddf1eaca970db001a98 (diff) | |
[IMP] purchase: changes related to the cleaning of the PO workflow
bzr revid: qdp-launchpad@openerp.com-20120525143549-w8ste0euwmqg9ji9
Diffstat (limited to 'addons/edi/static/src/xml')
| -rw-r--r-- | addons/edi/static/src/xml/edi_sale_purchase.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/addons/edi/static/src/xml/edi_sale_purchase.xml b/addons/edi/static/src/xml/edi_sale_purchase.xml index 8191660c5c9..8d6bab67761 100644 --- a/addons/edi/static/src/xml/edi_sale_purchase.xml +++ b/addons/edi/static/src/xml/edi_sale_purchase.xml @@ -33,9 +33,12 @@ </div> </div> - <t t-if="(doc.state == 'draft' or doc.state == 'sent')"> + <t t-if="(doc.state == 'draft' or doc.state == 'sent') and doc.__model == 'sale.order'"> <h1 class="oe_edi_doc_title">Quotation <t t-esc="doc.name"/>: <t t-esc="_.str.sprintf('%.2f',doc.amount_total)"/> <t t-esc="doc.currency.code"/></h1> </t> + <t t-if="(doc.state == 'draft' or doc.state == 'sent') and doc.__model == 'purchase.order'"> + <h1 class="oe_edi_doc_title">Request for Quotation <t t-esc="doc.name"/>: <t t-esc="_.str.sprintf('%.2f',doc.amount_total)"/> <t t-esc="doc.currency.code"/></h1> + </t> <t t-if="(doc.state != 'draft' and doc.state != 'sent')"> <h1 class="oe_edi_doc_title">Order <t t-esc="doc.name"/>: <t t-esc="_.str.sprintf('%.2f',doc.amount_total)"/> <t t-esc="doc.currency.code"/></h1> </t> |
