[FIX] sale_stock: correct sale.order report

After 222fcb137b, the main record has
been rename to `doc`.
This commit is contained in:
Christophe Simonis
2015-02-25 19:05:40 +01:00
parent fcbb825cd0
commit bc9701a3fd
+2 -2
View File
@@ -151,9 +151,9 @@
<template id="report_sale_order_incoterm" inherit_id="sale.report_saleorder_document">
<xpath expr="//div[@name='payment_term']" position="after">
<div class="col-xs-3" t-if="o.incoterm" groups="sale.group_display_incoterm">
<div class="col-xs-3" t-if="doc.incoterm" groups="sale.group_display_incoterm">
<strong>Incoterms:</strong>
<p t-field="o.incoterm.code"/>
<p t-field="doc.incoterm.code"/>
</div>
</xpath>
</template>