Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
1723 Ansichten

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
Verwerfen
Autor

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

Beste Antwort

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Mai 25
2683
2
Mai 25
6115
1
März 25
1800
4
März 25
4671
3
Feb. 25
5751