erpnext
erpnext copied to clipboard
Received Validation on Purchase Order not working properly
Information about bug
If an item in a purchase order is overreceived and the qty of the overreceived item is equal to the qty of the other items yet to be received ERPNext marks the purchase order as fully received. For example you have a purchase order with 3 line items for 1 each and for the first line there is an over receipt of 3 qty. It will mark the purchase order as completed even if the other line items haven't been received yet
Module
accounts, buying
Version
Frappe Framework: v13.33.1 ERPNext: v13.34.1
Installation method
No response
Relevant log output / Stack trace / Full Error Message.
No response
I have a purchase order with two items. One of the item is over received, the other is not received. The Purchase Order is still marked as To Receive.
@mro-admin
I am not able to replicate the issue locally
I have created Purchase Order and added same item 3 times in the Purchase Order Item table. Then I have created purchase receipt and removed row 2 & 3 and increased the quantity of first row from 1 to 3.
After Submission of purchase receipt, I have checked the PO status and it was showing correctly as "To Receive and Bill"
Purchase Receipt

Purchase Order
Status showing correct value as "To Receive and Bill"