跳至内容
菜单
此问题已终结
1 回复
1137 查看

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?

形象
丢弃
最佳答案

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

1. "analytic_line"

2. "res_partner"

3. "project"

Hope it helps!

形象
丢弃
相关帖文 回复 查看 活动
4
5月 25
2691
2
5月 25
6124
1
3月 25
1804
4
3月 25
4686
3
2月 25
5765