- Total :
+ Total (incl. taxes):
|
[[ '%.2f' % o.amount_total ]] [[o.currency_id.code ]]
diff --git a/addons/purchase/report/order.rml b/addons/purchase/report/order.rml
index 4e716efce4c..eaac95e1aae 100644
--- a/addons/purchase/report/order.rml
+++ b/addons/purchase/report/order.rml
@@ -196,7 +196,7 @@
[[ time.strftime('%d/%m/%Y', time.strptime( line.date_planned, '%Y-%m-%d')) ]]
|
- [[ line.product_qty ]] [[ line.product_uom.name ]]
+ [[ '%.2f' % line.product_qty ]] [[ line.product_uom.name ]]
|
[[ '%.2f' % line.price_unit ]]
diff --git a/addons/report_crm/report_crm.py b/addons/report_crm/report_crm.py
index bb7f164b168..4c7f81b6bf4 100644
--- a/addons/report_crm/report_crm.py
+++ b/addons/report_crm/report_crm.py
@@ -68,7 +68,7 @@ class report_crm_case_user(osv.osv):
sum(planned_cost) as amount_costs,
sum(planned_revenue*probability)::decimal(16,2) as amount_revenue_prob,
avg(probability)::decimal(16,2) as probability,
- to_char(avg(date_closed-c.create_date), 'DD"d" HH12:MI:SS') as delay_close
+ to_char(avg(date_closed-c.create_date), 'DD"d" HH24:MI:SS') as delay_close
from
crm_case c
group by substring(c.create_date for 7), c.state, c.user_id, c.section_id
@@ -106,7 +106,7 @@ class report_crm_case_categ(osv.osv):
sum(planned_cost) as amount_costs,
sum(planned_revenue*probability)::decimal(16,2) as amount_revenue_prob,
avg(probability)::decimal(16,2) as probability,
- to_char(avg(date_closed-c.create_date), 'DD"d" HH12:MI:SS') as delay_close
+ to_char(avg(date_closed-c.create_date), 'DD"d" HH24:MI:SS') as delay_close
from
crm_case c
group by substring(c.create_date for 7), c.state, c.categ_id, c.section_id
diff --git a/addons/sale/report/order.rml b/addons/sale/report/order.rml
index 7e33c8dad6e..68b6c284d82 100644
--- a/addons/sale/report/order.rml
+++ b/addons/sale/report/order.rml
@@ -169,7 +169,7 @@
[[ ', '.join(map(lambda x: x.name, line.tax_id))]]
|
- [[ line.product_uos_qty or line.product_uom_qty ]] [[ line.product_uos and line.product_uos.name or line.product_uom.name ]]
+ [[ '%.2f' % line.product_uos_qty or '%.2f' % line.product_uom_qty ]] [[ line.product_uos and line.product_uos.name or line.product_uom.name ]]
|
[[ (line.discount and str(line.discount)+'%')or '' ]]
|