-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Open
AKteen/erpnext
#3Labels
accountsbuginternalIssue or PR created by an internal or closely related member of Frappe.Issue or PR created by an internal or closely related member of Frappe.
Description
Information about bug
Issue
The system allows creating two Credit Notes for a single Sales Order, which should not be permitted. This results in duplicate credits against the same transaction.
Steps to Reproduce
- Create a Sales Order (SO)
- Create a Delivery Note (DN) from the Sales Order
- Create a Sales Invoice (SI) from the Delivery Note
- From the Sales Invoice, create a Credit Note, then save and submit it
- Go back to the Delivery Note. Create a Sales Return from the Delivery Note by enabling
Issue Credit Note - Save and submit the Sales Return note that the system creates another Credit Note during the Sales Return process
Cause
During Credit Note creation from Sales Return, the system skips return validation because the Return Against field is not set.
Module
accounts
Version
ERPNext - develop
Installation method
None
Relevant log output / Stack trace / Full Error Message.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
accountsbuginternalIssue or PR created by an internal or closely related member of Frappe.Issue or PR created by an internal or closely related member of Frappe.