mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-07 15:12: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 {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
'root_type': 'Liability',
|
'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 {
|
return {
|
||||||
filters: {
|
filters: {
|
||||||
'root_type': 'Asset',
|
'root_type': 'Asset',
|
||||||
|
|||||||
Reference in New Issue
Block a user