Skip to Content
Menu
This question has been flagged
1 Odpoveď
1123 Zobrazenia

How to find the 'dynamic_access' view element in the _get_view function in OOO 17? In previous versions, in function fields_view_get I used the expression res['arch'].count('dynamic_access'), where res is what the parent function returned. Now the parent function returns arch, view.

And how replase expression "res['fields']" from previous versions?

Avatar
Zrušiť
Best Answer

These are some samples taken from the Odoo 17 source code:

1. "analytic_line"

2. "res_partner"

3. "project"

Hope it helps!

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
4
máj 25
2688
2
máj 25
6119
1
mar 25
1802
4
mar 25
4682
3
feb 25
5762