Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: validate sales order item with quotation #37635

Merged

Conversation

GursheenK
Copy link
Member

Bug

  • System allows the creation of a Sales Order with items that have reference to a Quotation even when the Quotation does not consist of the item.

  • This leads to a Quotation with a different set of items as the Sales Order.

  • The status of the Quotation is shown as Partially Ordered even though none of the items from the Quotation were actually Ordered.

Fix
Added validation for ensuring that if a SO Item has reference to a Quotation, it is present in the Quotation.

no-docs

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Oct 23, 2023
@deepeshgarg007 deepeshgarg007 merged commit 0fc14b7 into frappe:develop Nov 1, 2023
10 of 13 checks passed
deepeshgarg007 added a commit that referenced this pull request Nov 1, 2023
…-37635

fix: validate sales order item with quotation (backport #37635)
deepeshgarg007 added a commit that referenced this pull request Nov 1, 2023
…-37635

fix: validate sales order item with quotation (#37635)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport version-14-hotfix backport to version 14 backport version-15-hotfix needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants