Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Give Users different rights (toggle partners/lead deletion)

By
Cole
on 9/25/15, 4:50 AM 400 views

Hello, I need to create two identical Admin Users but one should not be able to delete partners and leads. 

How should i proceed?

Any help is appreciated

0
Juan Muñoz
On 9/25/15, 10:27 AM

I think you can go to the 'delete partner' function and 'delete leads' function in python and see if the user is someone or the other. Maybe with some restriction like: if (self(partner.name)='user1'){ [delete partner function] }

Hope this helps you! :)

Juan

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/25/15, 4:50 AM
Seen: 400 times
Last updated: 9/25/15, 10:59 AM