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

in odoo 17, I want to group sales representatives in the contact list through the search panel.  but there is a bug,please help me.

 

I added the following code to the contact search view:

my code:
please see the comment



then I get the bug:

TypeError: inconsistent models in: res.partner() - res.users(2,)



アバター
破棄
著作者

<searchpanel>
<field name="user_id" enable_counters="1"/>
</searchpanel>

最善の回答

Just faced the same issue. Solution was

<searchpanel>

<field name="user_id" limit="20" hierarchize="0" select="one" enable_counters="1" icon="fa-users" />

</searchpanel>

アバター
破棄
関連投稿 返信 ビュー 活動
4
5月 25
2715
2
5月 25
6143
1
3月 25
1813
4
3月 25
4705
3
2月 25
5787