mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-12 14:58:24 +00:00
[fix] Get serial nos using FIFO in Return Delivery Note
This commit is contained in:
@@ -300,7 +300,7 @@ def get_serial_nos_by_fifo(args, item_doc):
|
||||
order by timestamp(purchase_date, purchase_time) asc limit %(qty)s""", {
|
||||
"item_code": args.item_code,
|
||||
"warehouse": args.warehouse,
|
||||
"qty": cint(args.qty)
|
||||
"qty": abs(cint(args.qty))
|
||||
}))
|
||||
|
||||
def get_actual_batch_qty(batch_no,warehouse,item_code):
|
||||
|
||||
Reference in New Issue
Block a user