Skip to Content
Menu
This question has been flagged

I'm wondering if it's possible to create functionality like windows file explorer tree has, or web page dropdown with multiple sub menus? Or just to simulate the flow. 

I need it for category selection for tickets so it has to be usable as selection in form view. It has to be built from a single database model where all records are stored and you build the sub categories with recursion function that checks if the record has a parent. Relations One2many won't work because there need to be at least 4 levels so that is why it needs to be in a single DB table. 

Has any one seen anything that would at least simulate such behavior. So when you select an item that has children it shows the children in it doesn't it selects it. Don't even know what to google because every time I use tree it shows me only things odoo "Tree" list view. 

Avatar
Discard
Best Answer

I think you are looking for this one.

https://www.odoo.com/apps/modules/11.0/muk_dms/       

Fir widgets documentation goto,

https://www.odoo.com/documentation/10.0/reference/javascript.html



Avatar
Discard
Author

not exactly but, I think... that I can use this to make my own widget that would do the job. Never programmed a widget, is there any free documentation or tutorials how to build a widget for the backend?

Best Answer

Unbelievable! A while ago I had a customer for exactly the same thing.  Never heard of this muk_dms module, so I coded the entire thing myself. The customer is still using it, but I feel so stupid right now.

Avatar
Discard
Related Posts Replies Views Activity
5
May 22
23456
0
Feb 18
3844
2
Sep 23
10433
1
May 21
8892
3
Jun 19
5193