Merge pull request #48373 from mihir-kandoi/st42781

fix: LCV from PR order mismatch
This commit is contained in:
Mihir Kandoi
2025-07-04 15:30:29 +05:30
committed by GitHub

View File

@@ -332,5 +332,6 @@ def get_pr_items(purchase_receipt):
(pr_item.parent == purchase_receipt.receipt_document)
& ((item.is_stock_item == 1) | (item.is_fixed_asset == 1))
)
.orderby(pr_item.idx)
.run(as_dict=True)
)