8848digital / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
0 stars 0 forks source link

Sales return permits multiple returns for the same serial number ! #630

Open bharatha24272 opened 1 week ago

bharatha24272 commented 1 week ago

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

image image image

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

sibikumarkuppusamy commented 4 days ago

Now it's working fine. system throws an error message if the same serial number is returned again. image