Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
1708 Prikazi

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
Opusti
Avtor

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

Best Answer

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
Opusti
Related Posts Odgovori Prikazi Aktivnost
4
maj 25
2639
2
maj 25
6050
1
mar. 25
1757
4
mar. 25
4623
3
feb. 25
5647