Skip to Content
Menu
This question has been flagged
1 Reply
5043 Views

I have a form with too many sections. Some of the sections have a lot of content and are full of optional fields. I would like some of these sections to be collapsed by default so that I can let the user focus only on those fields that are important. Any leads?

Avatar
Discard
Best Answer

Hi, 

You can try by giving invisible attribute based on some condition, like if some boo-lean field is ticked make it visible and if the boo-lean field is unticked you can make it invisible. 

This is the one option available, then you can try to add notebooks in the form, so that you can arrange the fields(optional) inside the pages of the notebooks. 

Thanks

Avatar
Discard
Author

I tried to do the first suggestion, of having it be set to a boolean. It works but looks like a gimmick. It's sad that there is no dedicated accordion widget in Odoo. This is such a common UI widget generally used on web applications.

Thank you Niyas for your help though!

Related Posts Replies Views Activity
1
Nov 22
1782
0
Dec 19
5152
4
May 15
3018
0
Aug 23
788
5
Aug 23
46880