Fix Codacy
This commit is contained in:
parent
2123b97d31
commit
32206029ac
@ -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", {
|
||||
});
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user