summaryrefslogtreecommitdiff
path: root/addons/report_webkit_sample
diff options
context:
space:
mode:
author <AlexandreFayolle@camptocamp>2012-08-03 16:52:38 +0200
committer <AlexandreFayolle@camptocamp>2012-08-03 16:52:38 +0200
commit8f9facb0248bf810c9d5de4caa043b22c5f0b094 (patch)
tree29759426731ce8fc6a1096d90f9ae150b6192aea /addons/report_webkit_sample
parentc61431bd3ee9db871317156fddb80ce662543f96 (diff)
[FIX] use partner_id.title.name (closes lp:1032662)
bzr revid: alexandre.fayolle@camptocamp.com-20120803145238-irc87p22ij6sigzp
Diffstat (limited to 'addons/report_webkit_sample')
-rw-r--r--addons/report_webkit_sample/report/report_webkit_html.mako2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/report_webkit_sample/report/report_webkit_html.mako b/addons/report_webkit_sample/report/report_webkit_html.mako
index 164a697f386..3ffca9f669c 100644
--- a/addons/report_webkit_sample/report/report_webkit_html.mako
+++ b/addons/report_webkit_sample/report/report_webkit_html.mako
@@ -8,7 +8,7 @@
%for inv in objects :
<% setLang(inv.partner_id.lang) %>
<table class="dest_address">
- <tr><td ><b>${inv.partner_id.title or ''|entity} ${inv.partner_id.name |entity}</b></td></tr>
+ <tr><td ><b>${inv.partner_id.title and inv.partner_id.title.name or ''|entity} ${inv.partner_id.name |entity}</b></td></tr>
<tr><td>${inv.address_invoice_id.street or ''|entity}</td></tr>
<tr><td>${inv.address_invoice_id.street2 or ''|entity}</td></tr>
<tr><td>${inv.address_invoice_id.zip or ''|entity} ${inv.address_invoice_id.city or ''|entity}</td></tr>