Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
1688 Vizualizări

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



Imagine profil
Abandonează
Autor

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

Cel mai bun răspuns

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>

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
4
mai 25
2574
2
mai 25
5954
1
mar. 25
1716
4
mar. 25
4564
3
feb. 25
5571