-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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(Sales Register): incorrect query with dimensions #31242
Merged
Merged
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
If accounting dimension is also part of the default filters then same query is repeated with incorrect syntax. e.g. `item_group = (child1, child2)` instead of `in` query. fix: don't add default filter if they are part of dimensions to be added.
Codecov Report
@@ Coverage Diff @@
## develop #31242 +/- ##
===========================================
- Coverage 63.33% 63.27% -0.06%
===========================================
Files 986 986
Lines 67405 67405
===========================================
- Hits 42693 42653 -40
- Misses 24712 24752 +40
|
@Mergifyio backport version-13-hotfix |
✅ Backports have been created
|
ankush
added a commit
that referenced
this pull request
Jun 6, 2022
#31251) fix(Sales Register): incorrect query with dimensions If accounting dimension is also part of the default filters then same query is repeated with incorrect syntax. e.g. `item_group = (child1, child2)` instead of `in` query. fix: don't add default filter if they are part of dimensions to be added. (cherry picked from commit c3219eb) Co-authored-by: Ankush Menat <ankush@frappe.io>
frappe-pr-bot
pushed a commit
that referenced
this pull request
Jun 7, 2022
# [13.33.0](v13.32.0...v13.33.0) (2022-06-07) ### Bug Fixes * Close unsecured terms loans ([d6d1d79](d6d1d79)) * Consider only Approved leave applications in LWP, Employee Benefit calculations ([7f84c86](7f84c86)) * display currencies in validation message. ([ef22337](ef22337)) * incorrect billed_qty in sales order analysis report when multiple delivery notes for item (backport [#31194](#31194)) ([#31250](#31250)) ([3b1f6da](3b1f6da)) * incorrect LWP calculation for half days in employee benefit application ([10f0c93](10f0c93)) * **India:** GSTIN filter in GSTR-1 report ([abe9fe7](abe9fe7)) * **India:** Supplies from composite dealer not showing up ([15712c7](15712c7)) * **job card:** only hold during draft state (backport [#31243](#31243)) ([#31249](#31249)) ([a7fc278](a7fc278)) * **Leave Application:** 'Cancelled' status shown as 'Open' in list view ([8b48d45](8b48d45)) * leave balance for earned leaves in backdated Leave Application dashboard (backport [#31253](#31253)) ([#31256](#31256)) ([a22d92f](a22d92f)) * only fetch membership expiry if not already set in `member.js` ([#31259](#31259)) ([d433784](d433784)) * Parent dimension filters in orders ([b3cbcd8](b3cbcd8)) * Pluralize year text instead of optional bracket (backport [#31210](#31210)) ([#31212](#31212)) ([b31709c](b31709c)) * re-validate warehouse after 'update items' (backport [#31203](#31203)) ([#31206](#31206)) ([3a718c7](3a718c7)) * remove leave policy assignment creation patch (backport [#31097](#31097)) ([#31204](#31204)) ([4aeb448](4aeb448)) * Remove redundant query ([3c4cf59](3c4cf59)) * Reverse provisional entries on Purchase Invoice cancel ([1fba432](1fba432)) * **Sales Register:** incorrect query with dimensions (backport [#31242](#31242)) ([#31251](#31251)) ([0badfc8](0badfc8)) * Simply cancel reverse entries ([100b8d9](100b8d9)) ### Features * **india:** Improve E-way Bill Cancellation. ([#31088](#31088)) ([622d25e](622d25e))
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
If the accounting dimension is also part of the default filters then same the query is repeated with incorrect syntax.
e.g.
item_group = (child1, child2)
instead ofin
query.fix: don't add default filters if they are part of the dimensions to be added.
App Versions
Route
Trackeback
Request Data
Response Data