コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2006 ビュー

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!

アバター
破棄
著作者

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

関連投稿 返信 ビュー 活動
0
6月 24
3
0
4月 24
1564
1
2月 24
2844
3
12月 23
1757
4
5月 25
2387