Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
4755 Vues

When I add a User in the software settings, it is directly added to customer menu. I don't want software users to directly get added to customer menu. How to restrict users from showing up in customer menu?

Also, how to assign a customer the user rights of the software?

Avatar
Ignorer
Meilleure réponse

Hi Arpit Thakar,

Software users means, they are the employees of the company.

So when a user is created the same time same named partner will generate.

if you look at the customer menu you can see there is filter.


then the employees are not listed under the menu.
if need to restrict them in Many2one field the n do one thing,
just set a domain for thet field.

        domain="[('customer','=',True)

It will solve your issue.

If you need to remove the creation of res.partner from the user, its not a good practice. 

Regards

Nikhilkrishnan

Avatar
Ignorer
Auteur

Hi Nikhil,

I have already added a filter 'Customers' in customer menu. In-spite of having a filter, users are shown in the customer menu.

To get more clarity, I crossed checked with demo database, and in that database when I add a user, it remains as a user and it doesn't show up in customer menu.

Kindly provide a solution for this.

Can you please check the customer records, under the sales and purchase tab there is a field 'is a customer' please uncheck the field, then no records coming under the customer menu.

On Thu, 7 Feb, 2019, 3:00 PM Arpit Thakar <arpitthakar90@gmail.com wrote:

Hi Nikhil,

I have already added a filter 'Customers' in customer menu. In-spite of having a filter, users are shown in the customer menu.

To get more clarity, I crossed checked with demo database, and in that database when I add a user, it remains as a user and it doesn't show up in customer menu.

Kindly provide a solution for this.

Sent by Odoo S.A. using Odoo.

Publications associées Réponses Vues Activité
2
févr. 23
6313
2
févr. 16
14347
1
déc. 23
20630
1
août 19
5953
1
avr. 25
1247