From 33dccb70b8560504e85e5cdeb4e645f6baa77da2 Mon Sep 17 00:00:00 2001 From: "rch (Open ERP)" <> Date: Mon, 20 Sep 2010 17:49:43 +0530 Subject: [PATCH] [IMP]: Improve report 'Auction Management / Objects /Objects / Buyer list' - date format , title ,color ,font ,currency symbol. bzr revid: rch_open_erp-20100920121943-c8e228nljaym7w5x --- addons/auction/report/buyer_list.rml | 105 ++++++++++++++------------- 1 file changed, 56 insertions(+), 49 deletions(-) diff --git a/addons/auction/report/buyer_list.rml b/addons/auction/report/buyer_list.rml index 245617a7f86..4ac6e6694e1 100644 --- a/addons/auction/report/buyer_list.rml +++ b/addons/auction/report/buyer_list.rml @@ -12,85 +12,93 @@ - + + + + + - + - + + + + + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - - - [[ time.strftime('%d/%m/%Y')]] - [[ repeatIn(lines_lots_from_auction(objects),'o') ]] - - - - [[o['name'] or False]] + Date: [[ formatLang(time.strftime('%Y-%m-%d'),date=True)]] + [[ repeatIn(lines_lots_from_auction(objects),'o') ]] + + + + [[o['name'] or False]] + + +
- + - Buyer + Buyer - # + Lot - Adj(EUR) + Adj.([[ company.currency_id.code ]]) - Buyer costs([[ o['amount' ]*100 ]]%) + Buyer costs([[ o['amount' ]*100 ]]%) - To pay + To pay ([[ company.currency_id.code ]]) - [[ repeatIn(lines_lots_auct_lot(o),'a') ]] - [[ a['ach_uid'] ]] + [[ repeatIn(lines_lots_auct_lot(o),'a') ]][[ a['ach_uid'] ]] - [[ a['no_lot'] or '0.0' ]] + [[ a['no_lot'] or '0.0' ]] - [[ a['adj_price'] or '0.0' ]] - + [[ a['adj_price']) or '0.0' ]][[ company.currency_id.symbol ]] - [[ a['buyer_cost'] or '0.0' ]] + [[ a['buyer_cost'] or '0.0' ]][[ company.currency_id.symbol ]] - [[a['to_pay'] or '0.0' ]] + [[a['to_pay'] or '0.0' ]][[ company.currency_id.symbol ]] @@ -100,28 +108,27 @@ .........
- + - Total: + Total: - [[ '%.0f' % (sum_lots() or 0.0) ]] + [[ '%.0f' % (sum_lots() or 0.0) ]] - [[ '%.2f' % (sum_adj_price() or 0.0) ]] + [[ '%.2f' % (sum_adj_price() or 0.0 )]][[ company.currency_id.symbol ]] - [[ '%.2f' % (sum_buyer_obj_price() or 0.0) ]] + [[ '%.2f' % (sum_buyer_obj_price() or 0.0) ]][[ company.currency_id.symbol ]] - [[ '%.2f' % (sum_buyer_price() or 0.0) ]] + [[ '%.2f' % (sum_buyer_price() or 0.0) ]][[ company.currency_id.symbol ]] - +
- - + \ No newline at end of file