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

Hello Community,

I recently upgraded from Odoo v16 to v17 and am facing an issue with a custom filter that used to work perfectly in the previous version. The filter is defined as follows:

In v16, this filter would pass the context {'x_studio_show_price': 'end_user'} to actions triggered from the filtered view, effectively influencing the behavior based on this context. However, after upgrading to v17, it appears that the context is no longer being passed as expected.

I'm looking for any insights or solutions on how to ensure that the context from this filter is correctly applied in Odoo v17. Has anyone else encountered this issue or found a workaround?

Thank you for any help or guidance you can provide!

Ảnh đại diện
Huỷ bỏ
Tác giả

<filter name="end_user" string="End User Price" domain="[]" context="{'x_studio_show_price': 'end_user'}"/>
here is my xml

Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 6 24
3
0
thg 4 24
1561
1
thg 2 24
2842
3
thg 12 23
1757
4
thg 5 25
2375