Odoo Help


Give Users different rights (toggle partners/lead deletion)

on 9/25/15, 4:50 AM 445 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

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! :)


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 platform 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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


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