-
Notifications
You must be signed in to change notification settings - Fork 7.9k
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(stock): don't reserve qty on sales return. #31271
Merged
Merged
Changes from 21 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
695e2bc
fix: don't reserve qty on sales return.
dj12djdjs 1d1c975
Merge remote-tracking branch 'upstream/develop' into fix-reserve-qty
dj12djdjs 47f867b
test: don't reserve qty on sales return.
dj12djdjs 4d0fa85
fix(test): update_prevdoc_status
dj12djdjs 5a402a5
fix(test): use unique item in sales order.
dj12djdjs f39422a
Merge branch 'develop' into fix-reserve-qty
dj12djdjs d259c2e
fix: merge conflict
dj12djdjs f3f26d2
refactor: get_reserved_qty query builder
dj12djdjs 494bbf0
feat: add checkbox to reserve qty on sales return
dj12djdjs 7855a59
Merge branch 'develop' into fix-reserve-qty
dj12djdjs 0328874
fix: syntax missing )
dj12djdjs 591b591
fix: re-assign after append query
dj12djdjs 179e2d2
fix: reset selling setting
dj12djdjs 6a6c560
fix: move to transcation settings
dj12djdjs 199b8dd
Merge branch 'develop' into fix-reserve-qty
dj12djdjs ef64808
chore: linter
dj12djdjs 5685492
Merge remote-tracking branch 'frappe/develop' into fix-reserve-qty
dj12djdjs 4c5147f
Merge: upstream/develop into pps190/fix-reserve-qty
dj12djdjs 46afbb5
Merge branch 'develop' into fix-reserve-qty
s-aga-r 2959285
Merge branch 'develop' into fix-reserve-qty
s-aga-r 6190b4c
chore: revert unrelated changes.
dj12djdjs 1142e69
Merge branch 'develop' into fix-reserve-qty
17f8080
chore: revert get_reserve_qty method
dj12djdjs 3c553b0
feat: don't reserve qty on sales return
dj12djdjs edb0666
Merge branch 'develop' into fix-reserve-qty
rohitwaghchaure File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function looks very complex and difficult to read, could you split the code into multiple methods?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@rohitwaghchaure Honestly, I don't even fully understand the query. I just reverted it back to the previous query and used f string to inject the condition.