mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-09 08:02:51 +00:00
Fix Codacy
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user