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

refactor: run qb directly instead of converting to sql #40299

Conversation

ruthra-kumar
Copy link
Member

@ruthra-kumar ruthra-kumar commented Mar 6, 2024

In Bank Reconciliation, the queries that fetch the matching vouchers from Payment Entry, Journal Entry and others is built in query builder and then converted to raw sql and passed to frappe.db.sql. This unwanted conversion causes issues with escaping special characters in 'reference_no' field. Now, the query will be run directly as query builder object.

Screenshot 2024-03-06 at 12 19 33 PM

@ruthra-kumar ruthra-kumar merged commit a97a851 into frappe:develop Mar 11, 2024
13 checks passed
ruthra-kumar added a commit that referenced this pull request Mar 11, 2024
…-40299

refactor: run qb directly instead of converting to sql (backport #40299)
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
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.

1 participant