fix: change category name from in store to in location
This commit is contained in:
parent
95161a0df4
commit
9cf818d347
@ -16,8 +16,8 @@ frappe.query_reports["Fixed Asset Register"] = {
|
||||
fieldname:"status",
|
||||
label: __("Status"),
|
||||
fieldtype: "Select",
|
||||
options: "In Store\nDisposed",
|
||||
default: 'In Store',
|
||||
options: "In Location\nDisposed",
|
||||
default: 'In Location',
|
||||
reqd: 1
|
||||
},
|
||||
{
|
||||
|
@ -101,7 +101,7 @@ def get_conditions(filters):
|
||||
|
||||
# In Store assets are those that are not sold or scrapped
|
||||
operand = 'not in'
|
||||
if status not in 'In Store':
|
||||
if status not in 'In Location':
|
||||
operand = 'in'
|
||||
|
||||
conditions['status'] = (operand, ['Sold', 'Scrapped'])
|
||||
|
Loading…
x
Reference in New Issue
Block a user