İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4721 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici

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?

En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
5
May 22
25644
0
Şub 18
5083
2
Eyl 23
12621
1
May 21
10237
3
Haz 19
6680