fix: change category name from in store to in location

This commit is contained in:
Mangesh-Khairnar 2019-10-10 14:28:52 +05:30
parent 95161a0df4
commit 9cf818d347
2 changed files with 3 additions and 3 deletions

View File

@ -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
},
{

View File

@ -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'])