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

form: check for parent to determine if an element is hidden #33

Merged
merged 1 commit into from
Dec 5, 2018

Conversation

beuss
Copy link
Contributor

@beuss beuss commented May 27, 2018

isHidden only checks for current element being hidden, this leads to
false negative when eg. element is in an hidden panel (for exemple
productName in SaleOrderLine.xml which is present twice, only one of the
two being displayed).

This fixes a double error message in SaleOrderLine popup when product label is empty

@axeloradmin
Copy link

Would you please rebase this patch on dev branch? We may include in this next 5.0.x release.

isHidden only checks for current element being hidden, this leads to
false negative when eg. element is in an hidden panel (for exemple
productName in SaleOrderLine.xml which is present twice, only one of the
two being displayed).
@beuss beuss changed the base branch from wip to dev December 4, 2018 16:46
@beuss
Copy link
Contributor Author

beuss commented Dec 4, 2018

@axeloradmin Done :-)

@axeloradmin axeloradmin merged commit 5a7d225 into axelor:dev Dec 5, 2018
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.

2 participants