From 659cc76754d0afc6add23343b95966f2ef0e68e9 Mon Sep 17 00:00:00 2001 From: "Apa (Open ERP)" Date: Thu, 29 Jan 2009 10:43:14 +0530 Subject: [PATCH] "Fees line(s)" prob solved in mrp_repair module in report bzr revid: apa@tinyerp.com-20090129051314-1m2qi5fu7qlkjj9f --- addons/mrp_repair/report/order.rml | 29 ++++++++++++++--------------- 1 file changed, 14 insertions(+), 15 deletions(-) diff --git a/addons/mrp_repair/report/order.rml b/addons/mrp_repair/report/order.rml index 781bffaae59..0a89efc73dd 100644 --- a/addons/mrp_repair/report/order.rml +++ b/addons/mrp_repair/report/order.rml @@ -244,10 +244,10 @@ [[ o.prodlot_id.name or ' ' ]] - [[ time.strftime('%d/%m/%Y', time.strptime(o.guarantee_limit, '%Y-%m-%d')) ]] + [[ formatLang(o.guarantee_limit,date = True) ]] - [[ time.strftime('%d/%m/%Y')]] + [[ formatLang(time.strftime('%Y-%m-%d'),date = True)]] @@ -291,23 +291,22 @@ [[ line.name ]][[ (line.to_invoice==True) or removeParentNode('tr') ]] - [[ ','.join(map( lambda x: x.name, line.tax_id)) or '0.00' ]] + [[ ','.join(map( lambda x: x.name, line.tax_id)) ]] - [[ line.product_uom_qty or '0.00' ]] [[ line.product_uom.name ]] + [[ formatLang(line.product_uom_qty) ]] [[ line.product_uom.name ]] - [[ line.price_unit ]] + [[ formatLang(line.price_unit) ]] - [[ line.price_subtotal ]] + [[ formatLang(line.price_subtotal) ]] - Fees Line(s) - + Fees Line(s) [[ (o.fees_lines ==[] and removeParentNode('para') ) ]] @@ -317,16 +316,16 @@ [[ fees.name ]][[ (fees.to_invoice==True) or removeParentNode('tr') ]] - [[ ','.join(map( lambda x: x.name, fees.tax_id)) or '0.00' ]] + [[ ','.join(map( lambda x: x.name, fees.tax_id)) ]] - [[ fees.product_uom_qty or '0.00' ]] [[ fees.product_uom.name ]] + [[ formatLang(fees.product_uom_qty) ]] [[ fees.product_uom.name ]] - [[ fees.price_unit ]] + [[ formatLang(fees.price_unit) ]] - [[ fees.price_subtotal ]] + [[ formatLang(fees.price_subtotal) ]] @@ -347,7 +346,7 @@ Net Total : - [[ o.amount_untaxed or '0.00' ]] + [[ formatLang(o.amount_untaxed)]] [[ o.pricelist_id.currency_id.name ]] @@ -363,7 +362,7 @@ Taxes: - [[ o.amount_tax or '0.00']] + [[ formatLang(o.amount_tax)]] [[ o.pricelist_id.currency_id.name ]] @@ -379,7 +378,7 @@ Total : - [[ total(o) ]] + [[ formatLang(total(o)) ]] [[ o.pricelist_id.currency_id.name ]]