From 44f4cd80f0f00be337464bf6803c3a5558440899 Mon Sep 17 00:00:00 2001 From: "hda@tinyerp.com" <> Date: Tue, 4 Nov 2008 16:45:06 +0530 Subject: [PATCH] added graph view in purchase_report bzr revid: hda@tinyerp.com-20081104111506-q34zlv0iws91wgpk --- .../report_purchase/report_purchase_view.xml | 56 ++++++++++++++----- 1 file changed, 41 insertions(+), 15 deletions(-) diff --git a/addons/report_purchase/report_purchase_view.xml b/addons/report_purchase/report_purchase_view.xml index bfbdacc5db0..e3c625797ac 100644 --- a/addons/report_purchase/report_purchase_view.xml +++ b/addons/report_purchase/report_purchase_view.xml @@ -1,8 +1,8 @@ - - + + report.purchase.order.product.form report.purchase.order.product @@ -19,7 +19,20 @@ - + + + product.month.graph + report.purchase.order.product + graph + + + + + + + + + report.purchase.order.product.tree report.purchase.order.product @@ -36,12 +49,12 @@ - + Purchases by Products (this month) report.purchase.order.product form - tree + tree,graph [('name','=',time.strftime('%Y-%m-01'))] @@ -49,12 +62,12 @@ Purchases by Products report.purchase.order.product form - tree + tree,graph - + - + report.purchase.order.category.form report.purchase.order.category @@ -71,7 +84,20 @@ - + + + product.category.graph + report.purchase.order.category + graph + + + + + + + + + report.purchase.order.category.tree report.purchase.order.category @@ -88,12 +114,12 @@ - + Purchases by Category of Product (this month) report.purchase.order.category form - tree + tree,graph [('name','=',time.strftime('%Y-%m-01'))] @@ -101,13 +127,13 @@ Purchases by Category of Products report.purchase.order.category form - tree + tree,graph - + - + - +