Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1623 Tampilan

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,)



Avatar
Buang
Penulis

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

Jawaban Terbai

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>

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
4
Mei 25
2482
2
Mei 25
5825
1
Mar 25
1655
4
Mar 25
4446
3
Feb 25
5438