From 42d8891cc93177df52a7022a391073a091fcdec2 Mon Sep 17 00:00:00 2001 From: Najlaa Date: Fri, 26 Sep 2008 12:44:28 +0200 Subject: [PATCH] Order bzr revid: nel@silver-20080926104428-dhvdpvkmx9nuiqhj --- addons/sale/report/order.rml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/sale/report/order.rml b/addons/sale/report/order.rml index a5a29a6f38c..03be1dff0a9 100644 --- a/addons/sale/report/order.rml +++ b/addons/sale/report/order.rml @@ -148,7 +148,7 @@ - Invoice address :[[ o.partner_id.property_payment_term.name ]] + Invoice address :[[ o.partner_id.property_payment_term and o.partner_id.property_payment_term.name or '' ]] [[ o.partner_invoice_id.street ]] [[ o.partner_invoice_id.street2 and (', %s' % o.partner_invoice_id.street2 or '') ]] [[ o.partner_invoice_id.zip or '' ]] [[ o.partner_invoice_id.city or '' ]] [[ o.partner_invoice_id.country_id and (', %s' % (o.partner_invoice_id.country_id and o.partner_invoice_id.country_id.name or '')) ]]