The system allows multiple sales returns for the same serial number, even if the product has already been returned.
For example, a customer purchases a serialized product with serial numbers SN001, SN002, and SN003 (total of 3 quantities) in a single sales invoice. The customer later returns one of the products, and the sales return is successfully processed for SN001. However, the system allows the creation of multiple sales returns for the same serial number SN001, even though it has already been returned. This means the same serial number can be returned multiple times, up to the total quantity of the sales invoice, which should not be allowed.
Information about bug
The system allows multiple sales returns for the same serial number, even if the product has already been returned.
For example, a customer purchases a serialized product with serial numbers SN001, SN002, and SN003 (total of 3 quantities) in a single sales invoice. The customer later returns one of the products, and the sales return is successfully processed for SN001. However, the system allows the creation of multiple sales returns for the same serial number SN001, even though it has already been returned. This means the same serial number can be returned multiple times, up to the total quantity of the sales invoice, which should not be allowed.
http://3.138.223.54/app/sales-invoice/ACC-SINV-2024-38198
Module
selling
Version
Installed Apps Assets: v0.0.1 (pre-prod)
ERPNext: v15.34.0 (pre-prod)
Frappe Framework: v15.41.0 (pre-prod)
Payments: v0.0.1 (version-15)
Projects: v0.0.1 (master)
sales_commission: v0.0.1 (master)
Installation method
FrappeCloud
Relevant log output / Stack trace / Full Error Message.
No response