Fix Codacy
diff --git a/erpnext/stock/doctype/item/item.js b/erpnext/stock/doctype/item/item.js
index 86615d4..b3141e8 100644
--- a/erpnext/stock/doctype/item/item.js
+++ b/erpnext/stock/doctype/item/item.js
@@ -271,7 +271,7 @@
}
}
- 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 @@
}
}
- 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 @@
});
}
}
-})
\ No newline at end of file
+})