Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1690 Visualizações

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

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

Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
4
mai. 25
2578
2
mai. 25
5955
1
mar. 25
1717
4
mar. 25
4569
3
fev. 25
5571