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

Cannot resolve optional = 'hidden' #522

Closed
hra0123 opened this issue Dec 26, 2024 · 3 comments
Closed

Cannot resolve optional = 'hidden' #522

hra0123 opened this issue Dec 26, 2024 · 3 comments

Comments

@hra0123
Copy link

hra0123 commented Dec 26, 2024

I think it's odoo bug . Can you verify ??
Screenshot from 2024-12-26 15-11-56
File reference : odoo/addons/account_fleet/views/account_move_views.xml

@trinhanhngoc
Copy link
Member

Hello @hra0123 ,

According to the documentation, only two valid values are show and hide. However, it seems that Odoo supports more flexible values:

  • show = show
  • other values (hide, hidden,...) = hide

https://github.com/odoo/odoo/blob/0e7a70a11eee80094d3f55e5580141fc67fa09a1/addons/web/static/src/views/list/list_renderer.js#L960

@hra0123
Copy link
Author

hra0123 commented Dec 27, 2024

@trinhanhngoc 👍 Thanks for info

@trinhanhngoc
Copy link
Member

Hello @hra0123 ,

The new version 2025.1.0 has been released to address this issue. Now, valid optional values are: show, hide, hidden, 1 (=hide).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants