콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다

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
5월 22
25647
0
2월 18
5084
2
9월 23
12627
1
5월 21
10238
3
6월 19
6687