Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
1628 Weergaven

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
Annuleer
Auteur

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

Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
4
mei 25
2486
2
mei 25
5843
1
mrt. 25
1669
4
mrt. 25
4455
3
feb. 25
5457