-
Notifications
You must be signed in to change notification settings - Fork 6.6k
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
perf: reduce number of queries to validate selling price #26225
Merged
nabinhait
merged 5 commits into
frappe:develop
from
resilient-tech:perf-validate-selling-price
Aug 24, 2021
Merged
perf: reduce number of queries to validate selling price #26225
nabinhait
merged 5 commits into
frappe:develop
from
resilient-tech:perf-validate-selling-price
Aug 24, 2021
Conversation
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
pruthvi145
force-pushed
the
perf-validate-selling-price
branch
2 times, most recently
from
June 26, 2021 13:03
6b2ab7b
to
3269a3c
Compare
pruthvi145
force-pushed
the
perf-validate-selling-price
branch
from
June 28, 2021 05:01
3269a3c
to
00ca3fe
Compare
sagarvora
force-pushed
the
perf-validate-selling-price
branch
from
June 28, 2021 06:23
fdfa2ed
to
8c1616a
Compare
sagarvora
force-pushed
the
perf-validate-selling-price
branch
from
June 28, 2021 06:25
8c1616a
to
79cc302
Compare
ankush
reviewed
Jun 28, 2021
pruthvi145
force-pushed
the
perf-validate-selling-price
branch
from
June 30, 2021 09:02
f8ea2ce
to
e8cbbf9
Compare
pruthvi145
force-pushed
the
perf-validate-selling-price
branch
from
June 30, 2021 09:09
e8cbbf9
to
e5ad52e
Compare
sagarvora
added
the
squash
Meant to tell reviewers that this PR should be squashed into a single commit while merging.
label
Jul 8, 2021
ankush
requested review from
nextchamp-saqib and
deepeshgarg007
and removed request for
ankush
July 15, 2021 12:19
frappe-pr-bot
pushed a commit
to frappe-pr-bot/erpnext
that referenced
this pull request
Aug 24, 2021
* perf: reduce number of queries to validate selling price * fix: improved flow and formatting * fix: improve condition and use of `as_dict` Co-authored-by: Sagar Vora <sagar@resilient.tech> (cherry picked from commit 7c957d7)
asoral
pushed a commit
to asoral/erpnext
that referenced
this pull request
Nov 12, 2021
* perf: reduce number of queries to validate selling price * fix: improved flow and formatting * fix: improve condition and use of `as_dict` Co-authored-by: Sagar Vora <sagar@resilient.tech>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport version-13-hotfix
squash
Meant to tell reviewers that this PR should be squashed into a single commit while merging.
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.
~58% reduction in
SellingController.validate_selling_price
Changes Made
tabBin
instead oftabStock Ledger Entry
for fetchinglast_valuation_rate
.Screenshots
Before
After