Browse Source

Merge e5080fa693 into 1f947e4536

pull/27/merge
Robin Keunen 7 years ago
committed by GitHub
parent
commit
5af953d2b4
  1. 1
      beesdoo_purchase/__openerp__.py
  2. 14
      beesdoo_purchase/report/report_purchaseorder.xml

1
beesdoo_purchase/__openerp__.py

@ -25,6 +25,7 @@
'data': [
'views/purchase_order.xml',
'security/ir.model.access.csv',
'report/report_purchaseorder.xml',
],
# only loaded in demonstration mode
'demo': [],

14
beesdoo_purchase/report/report_purchaseorder.xml

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<odoo>
<data>
<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.create_uid.name" class="col-xs-3">
<strong>Your Referent:</strong>
<p t-field="o.create_uid.name"/>
<p t-if="o.partner_id.phone" t-field="o.partner_id.phone"/>
</div>
</div>
</template>
</data>
</odoo>
Loading…
Cancel
Save