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