Moved patches and fixed method routing in pages

This commit is contained in:
Rushabh Mehta 2013-12-27 13:43:40 +05:30
parent e7fc25d6a8
commit 4ac68952e8
5 changed files with 3 additions and 4 deletions

View File

@ -71,9 +71,7 @@ erpnext.SalesFunnel = Class.extend({
get_data: function(btn) {
var me = this;
wn.call({
module: "selling",
page: "sales_funnel",
method: "get_funnel_data",
method: "erpnext.selling.sales_funnel.get_funnel_data",
args: {
from_date: this.options.from_date,
to_date: this.options.to_date

View File

@ -237,9 +237,10 @@ wn.pages['setup-wizard'].onload = function(wrapper) {
])
}
// products
for(var i=1; i<6; i++) {
wizard_settings.slides[6].fields = wizard_settings.slides[6].fields.concat([
{fieldtype:"Data", fieldname:"item_" + i, label:"Item " + 1,
{fieldtype:"Data", fieldname:"item_" + i, label:"Item " + i,
placeholder:"A Product or Service"},
{fieldtype:"Column Break"},
{fieldtype:"Attach", fieldname:"item_img_" + i, label:"Attach Image..."},