Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
1121 Представления

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!

Аватар
Отменить
Related Posts Ответы Просмотры Активность
4
мая 25
2688
2
мая 25
6119
1
мар. 25
1802
4
мар. 25
4682
3
февр. 25
5762