From 8326778771c63b2fafe34acfef8cbeabb95cc164 Mon Sep 17 00:00:00 2001 From: "uco (Open ERP)" Date: Mon, 27 Sep 2010 11:45:56 +0530 Subject: [PATCH] [FIX] auction: Reports corrected bzr revid: uco@tinyerp.com-20100927061556-xfncjfhw8ls13nuw --- addons/auction/report/auction_artists.rml | 2 +- addons/auction/report/bids_lots.rml | 4 ++-- addons/auction/report/bids_phones_details.rml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/addons/auction/report/auction_artists.rml b/addons/auction/report/auction_artists.rml index dfe81549245..1a0688825d4 100644 --- a/addons/auction/report/auction_artists.rml +++ b/addons/auction/report/auction_artists.rml @@ -62,7 +62,7 @@ [[o.artist2_id and 'Artist2: '+o.artist2_id.name or False]] - [[o.artist_id2 and 'Biography: '+o.artist_id2.biography or False]] + [[o.artist2_id and 'Biography: '+o.artist2_id.biography or False]] diff --git a/addons/auction/report/bids_lots.rml b/addons/auction/report/bids_lots.rml index 9d688868d30..c2cad707a57 100644 --- a/addons/auction/report/bids_lots.rml +++ b/addons/auction/report/bids_lots.rml @@ -74,10 +74,10 @@ [[ o.ach_uid and o.ach_uid.name or False]] - [[o.bid_lines[0] and o.bid_lines[0].bid_id.name or removeParentNode('font')]] + [[ o.bid_lines and o.bid_lines[0] and o.bid_lines[0].bid_id.name or removeParentNode('font')]] - [[o.bid_lines[0] and o.bid_lines[0].bid_id.contact_tel or removeParentNode('font')]] + [[o.bid_lines and o.bid_lines[0] and o.bid_lines[0].bid_id.contact_tel or removeParentNode('font')]] diff --git a/addons/auction/report/bids_phones_details.rml b/addons/auction/report/bids_phones_details.rml index 17ba5f94b81..adf9e6a63b3 100644 --- a/addons/auction/report/bids_phones_details.rml +++ b/addons/auction/report/bids_phones_details.rml @@ -88,7 +88,7 @@ [[o.lot_est1]]-[[o.lot_est2]] - [[o.bid_lines[0] and o.bid_lines[0].bid_id.contact_tel or removeParentNode('font')]] + [[o.bid_lines and o.bid_lines[0] and o.bid_lines[0].bid_id.contact_tel or removeParentNode('font')]]