mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-12 11:25:09 +00:00
Merge pull request #50025 from thomasantony12/dev-batch_order_fix
fix: Batch ordering based on the method mentioned in settings
This commit is contained in:
@@ -262,6 +262,7 @@ def get_batch_qty(
|
||||
"warehouse": warehouse,
|
||||
"creation": creation,
|
||||
"batch_no": batch_no,
|
||||
"based_on": frappe.get_single_value("Stock Settings", "pick_serial_and_batch_based_on"),
|
||||
"ignore_voucher_nos": ignore_voucher_nos,
|
||||
"for_stock_levels": for_stock_levels,
|
||||
"consider_negative_batches": consider_negative_batches,
|
||||
|
||||
Reference in New Issue
Block a user