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: Don't remove inherited fields if it's sent on request #156

Merged
merged 1 commit into from
Jul 3, 2024

Conversation

7sete7
Copy link
Contributor

@7sete7 7sete7 commented Jun 26, 2024

The current behaviour when removing a lookup field from a record (such as development on a Product) is to remove all inheritedFields from it.
The problem is that it removed all the fields even if it was assigned a value on the request as well.
This PR aims to fix it. Keep the fields that came from the request (or other sources, such as the scriptBeforeValidation).

Fixes #155

@7sete7 7sete7 merged commit 7dbadae into main Jul 3, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remoção de empreendimento do cadastro de imóveis gerando bug
2 participants