fix: Multiplle sider issues
This commit is contained in:
parent
133ce286f9
commit
23ab5c5cc0
@ -11,7 +11,7 @@ frappe.ui.form.on('Budget', {
|
|||||||
report_type: "Profit and Loss",
|
report_type: "Profit and Loss",
|
||||||
is_group: 0
|
is_group: 0
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
frm.set_query("monthly_distribution", function() {
|
frm.set_query("monthly_distribution", function() {
|
||||||
@ -19,7 +19,7 @@ frappe.ui.form.on('Budget', {
|
|||||||
filters: {
|
filters: {
|
||||||
fiscal_year: frm.doc.fiscal_year
|
fiscal_year: frm.doc.fiscal_year
|
||||||
}
|
}
|
||||||
}
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
erpnext.accounts.dimensions.setup_dimension_filters(frm, frm.doctype);
|
erpnext.accounts.dimensions.setup_dimension_filters(frm, frm.doctype);
|
||||||
|
@ -115,7 +115,7 @@ $.extend(erpnext.queries, {
|
|||||||
["Warehouse", "is_group", "=",0]
|
["Warehouse", "is_group", "=",0]
|
||||||
|
|
||||||
]
|
]
|
||||||
}
|
};
|
||||||
},
|
},
|
||||||
|
|
||||||
get_filtered_dimensions: function(doc, child_fields, dimension, company) {
|
get_filtered_dimensions: function(doc, child_fields, dimension, company) {
|
||||||
|
@ -98,4 +98,4 @@ erpnext.accounts.dimensions = {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
};
|
@ -2,7 +2,7 @@
|
|||||||
// License: GNU General Public License v3. See license.txt
|
// License: GNU General Public License v3. See license.txt
|
||||||
|
|
||||||
frappe.provide("erpnext.stock");
|
frappe.provide("erpnext.stock");
|
||||||
frappe.provide("erpnext.accounts.dimensions")
|
frappe.provide("erpnext.accounts.dimensions");
|
||||||
|
|
||||||
frappe.ui.form.on("Stock Reconciliation", {
|
frappe.ui.form.on("Stock Reconciliation", {
|
||||||
onload: function(frm) {
|
onload: function(frm) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user