sales funnel fix

This commit is contained in:
Akhilesh Darjee 2014-02-06 13:14:15 +05:30
parent 602fdc0000
commit 462740f72b
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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" }
]
]