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: exclude disabled customers when fetching customers on process statement of accounts #35539

Merged
merged 1 commit into from
Jun 7, 2023
Merged

fix: exclude disabled customers when fetching customers on process statement of accounts #35539

merged 1 commit into from
Jun 7, 2023

Conversation

dvdl16
Copy link
Contributor

@dvdl16 dvdl16 commented Jun 2, 2023

Fixes #35538

Details:

On a "Process Statement of Account", when setting the "Select Customers By" field to Customer Group, the "Fetch Customers" button will include Disabled customers in the Customers Child Table

image

This PR adds a filter to the frappe.get_list() call for the disabled field on Customer

@github-actions github-actions bot added the needs-tests This PR needs automated unit-tests. label Jun 2, 2023
@deepeshgarg007 deepeshgarg007 added the backport version-14-hotfix backport to version 14 label Jun 7, 2023
@deepeshgarg007 deepeshgarg007 merged commit 3b409af into frappe:develop Jun 7, 2023
2 checks passed
@dvdl16
Copy link
Contributor Author

dvdl16 commented Jul 30, 2023

@deepeshgarg007 sorry for the question, this is my first PR into erpnext - how can we get this backported to version-14?

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 12, 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 needs-tests This PR needs automated unit-tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

'Fetch Customers' on Process Statement of Account fetches disabled customers
2 participants