From 462740f72b1c4499fd773cb9c27c48881adca65f Mon Sep 17 00:00:00 2001 From: Akhilesh Darjee Date: Thu, 6 Feb 2014 13:14:15 +0530 Subject: [PATCH] sales funnel fix --- erpnext/selling/page/sales_funnel/sales_funnel.js | 2 +- erpnext/selling/page/sales_funnel/sales_funnel.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/selling/page/sales_funnel/sales_funnel.js b/erpnext/selling/page/sales_funnel/sales_funnel.js index c229d81ea9..7464c49f08 100644 --- a/erpnext/selling/page/sales_funnel/sales_funnel.js +++ b/erpnext/selling/page/sales_funnel/sales_funnel.js @@ -71,7 +71,7 @@ erpnext.SalesFunnel = Class.extend({ get_data: function(btn) { var me = this; wn.call({ - method: "erpnext.selling.sales_funnel.get_funnel_data", + method: "erpnext.selling.page.sales_funnel.sales_funnel.get_funnel_data", args: { from_date: this.options.from_date, to_date: this.options.to_date diff --git a/erpnext/selling/page/sales_funnel/sales_funnel.py b/erpnext/selling/page/sales_funnel/sales_funnel.py index 433eaf17ed..c5b5e871e4 100644 --- a/erpnext/selling/page/sales_funnel/sales_funnel.py +++ b/erpnext/selling/page/sales_funnel/sales_funnel.py @@ -30,4 +30,4 @@ def get_funnel_data(from_date, to_date): { "title": "Opportunities", "value": opportunities, "color": "#F09C00" }, { "title": "Quotations", "value": quotations, "color": "#006685" }, { "title": "Sales Orders", "value": sales_orders, "color": "#00AD65" } - ] + ] \ No newline at end of file