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

Can anyone tell me how views get recordsets for them to display. I'm looking the search view but I can't find the code that does it. I need to expand control panel with some dynamic filters and need to show that data on tree and kanban views.


EDIT:

After hours of looking at the code I figured out that the data is being searched by pythoncontroller search_read in the web module. But I can't figure out which JS is calling the controller or what handels the data from the controller and then displays it.

In abstract_model.js I found the __reload() function that's getting called, but I cannot figure it out.

I didn't think this would be so complicated when other stuff in odoo is easy to find.

 



Any example would be great, thanks!

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
ديسمبر 20
13902
1
يوليو 22
2524
0
سبتمبر 21
214
1
يونيو 21
3790
0
مايو 21
2459