mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 11:09:17 +00:00
Merge branch 'develop' into asset_depreciation_schedule
This commit is contained in:
@@ -441,7 +441,7 @@ def get_available_item_locations_for_batched_item(
|
|||||||
sle.`batch_no`,
|
sle.`batch_no`,
|
||||||
sle.`item_code`
|
sle.`item_code`
|
||||||
HAVING `qty` > 0
|
HAVING `qty` > 0
|
||||||
ORDER BY IFNULL(batch.`expiry_date`, '2200-01-01'), batch.`creation`
|
ORDER BY IFNULL(batch.`expiry_date`, '2200-01-01'), batch.`creation`, sle.`batch_no`, sle.`warehouse`
|
||||||
""".format(
|
""".format(
|
||||||
warehouse_condition=warehouse_condition
|
warehouse_condition=warehouse_condition
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user