Skip to content

Commit

Permalink
[FIX] Forgot some references to doc (avoinsystems#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
aisopuro committed Aug 18, 2016
1 parent 42fa8a7 commit fbe6fff
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion report/report_invoice.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
</td>
<td class="text-right">
<span t-field="l.price_subtotal"
t-field-options='{"widget": "monetary", "display_currency": "doc.currency_id"}'/>
t-field-options='{"widget": "monetary", "display_currency": "o.currency_id"}'/>
</td>
</tr>
</tbody>
Expand Down
6 changes: 3 additions & 3 deletions report/report_layout_header.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
<div class="row">
<div class="col-xs-2 col-xs-offset-1"
style="float: none; display: inline-block; vertical-align: middle;">
<img t-if="doc.company_id.logo"
t-att-src="'data:image/png;base64,%s' % doc.company_id.logo"
<img t-if="o.company_id.logo"
t-att-src="'data:image/png;base64,%s' % o.company_id.logo"
style="max-height: 2.1cm; max-width: 4cm;"/>
</div>
<div class="col-xs-4"
style="font-size: .85em; float: none; display: inline-block; vertical-align: middle;">
<div t-field="doc.company_id.partner_id"
<div t-field="o.company_id.partner_id"
t-field-options='{"widget": "contact", "fields": ["address", "name"], "no_marker": true}'/>
</div>
<div class="col-xs-5 text-left"
Expand Down

0 comments on commit fbe6fff

Please sign in to comment.