Browse Source
Merge pull request #37 from beescoop/9.0-po-use-contact-widget
Use contact widget in purchase orders
pull/41/head
Robin Keunen
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
4 additions and
2 deletions
-
beesdoo_purchase/report/report_purchaseorder.xml
|
@ -3,11 +3,13 @@ |
|
|
<data> |
|
|
<data> |
|
|
<template id="report_purchaseorder_document" inherit_id="purchase.report_purchaseorder_document" name="beesdoo purchaseorder"> |
|
|
<template id="report_purchaseorder_document" inherit_id="purchase.report_purchaseorder_document" name="beesdoo purchaseorder"> |
|
|
<div t-if="o.date_order" position="after"> |
|
|
<div t-if="o.date_order" position="after"> |
|
|
|
|
|
|
|
|
<div t-if="o.create_uid.name" class="col-xs-3"> |
|
|
<div t-if="o.create_uid.name" class="col-xs-3"> |
|
|
<strong>Your Referent:</strong> |
|
|
<strong>Your Referent:</strong> |
|
|
<p t-field="o.create_uid.name"/> |
|
|
|
|
|
<p t-if="o.create_uid.phone" t-field="o.create_uid.phone"/> |
|
|
|
|
|
|
|
|
<div t-field="o.create_uid" |
|
|
|
|
|
t-field-options='{"widget": "contact", "fields": ["name", "phone", "mobile"], "no_marker": true, "phone_icons": true}'/> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
</data> |
|
|
</data> |
|
|