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(grid_row): check child table dependent properties whenever a row is selected (backport #26054) #26067

Merged

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Apr 20, 2024

By default, we have a single docfield for every row here. So the value
of fields like read_only isn't true to the current row, but whatever
was last set. This breaks use cases where we have conditional read-only
or mandatory based on another value in the row - whatever was set last
ends up applying to every row (and basically since we skip the actual
evaluation if its already true - if any one row triggered read_only or
mandatory - all were forced into that)

Now everytime a row is selected, we set the dependent properties and for
that data so that it works as expected.

Resolves #25984, and support ticket 13288


This is an automatic backport of pull request #26054 done by [Mergify](https://mergify.com).

…is selected

Signed-off-by: Akhil Narang <me@akhilnarang.dev>
(cherry picked from commit 3dc568e)
@mergify mergify bot requested a review from a team as a code owner April 20, 2024 09:52
@mergify mergify bot requested review from akhilnarang and removed request for a team April 20, 2024 09:52
@akhilnarang akhilnarang merged commit a3fb044 into version-14-hotfix Apr 20, 2024
9 of 11 checks passed
@akhilnarang akhilnarang deleted the mergify/bp/version-14-hotfix/pr-26054 branch April 20, 2024 10:04
@frappe-pr-bot
Copy link
Collaborator

🎉 This PR is included in version 14.73.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants