تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4758 أدوات العرض

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. 

الصورة الرمزية
إهمال
أفضل إجابة

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



الصورة الرمزية
إهمال
الكاتب

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?

أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
5
مايو 22
25666
0
فبراير 18
5099
2
سبتمبر 23
12650
1
مايو 21
10248
3
يونيو 19
6698