mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-04 12:49:10 +00:00
now_datetime changed to nowdate
This commit is contained in:
@@ -102,7 +102,7 @@ cur_frm.cscript.posting_date = function(doc, cdt, cdn){
|
||||
cur_frm.fields_dict.items.grid.get_field('item_code').get_query = function(doc, cdt, cdn) {
|
||||
return {
|
||||
filters:[
|
||||
['Item', 'end_of_life', '>', frappe.datetime.now_datetime()]
|
||||
['Item', 'end_of_life', '>=', frappe.datetime.nowdate()]
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user