mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-30 23:18:02 +00:00
Merge pull request #4613 from nabinhait/fixes
[fix] Item query and exchange rate
This commit is contained in:
@@ -10,9 +10,11 @@ frappe.ui.form.on("Stock Reconciliation", {
|
||||
// end of life
|
||||
frm.set_query("item_code", "items", function(doc, cdt, cdn) {
|
||||
return {
|
||||
filters:[
|
||||
['Item', 'end_of_life', '>=', frappe.datetime.nowdate()]
|
||||
]
|
||||
query: "erpnext.controllers.queries.item_query",
|
||||
filters:{
|
||||
"is_stock_item": 1,
|
||||
"has_serial_no": 0
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user