Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
1132 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

1. "analytic_line"

2. "res_partner"

3. "project"

Hope it helps!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
4
thg 5 25
2690
2
thg 5 25
6121
1
thg 3 25
1802
4
thg 3 25
4683
3
thg 2 25
5763