Fix Codacy

This commit is contained in:
Shreya Shah
2018-10-05 14:14:33 +05:30
committed by GitHub
parent 2123b97d31
commit 32206029ac

View File

@@ -271,7 +271,7 @@ $.extend(erpnext.item, {
}
}
frm.fields_dict['deferred_revenue_account'].get_query = function(doc) {
frm.fields_dict['deferred_revenue_account'].get_query = function() {
return {
filters: {
'root_type': 'Liability',
@@ -280,7 +280,7 @@ $.extend(erpnext.item, {
}
}
frm.fields_dict['deferred_expense_account'].get_query = function(doc) {
frm.fields_dict['deferred_expense_account'].get_query = function() {
return {
filters: {
'root_type': 'Asset',
@@ -725,4 +725,4 @@ frappe.ui.form.on("UOM Conversion Detail", {
});
}
}
})
})