Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4725 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

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?

Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
5
kvě 22
25646
0
úno 18
5084
2
zář 23
12623
1
kvě 21
10237
3
čvn 19
6681