跳至內容
選單
此問題已被標幟
1 回覆
1124 瀏覽次數

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
2688
2
5月 25
6119
1
3月 25
1802
4
3月 25
4682
3
2月 25
5762