Merge branch 'develop' into asset_depreciation_schedule

This commit is contained in:
Anand Baburajan 2022-12-27 14:59:53 +05:30 committed by GitHub
commit 4ff70db668
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -441,7 +441,7 @@ def get_available_item_locations_for_batched_item(
sle.`batch_no`,
sle.`item_code`
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(
warehouse_condition=warehouse_condition
),