Odoo Help

1

0
2 Answers
2
Jerome Guerriat
26‏/1‏/2018 5:29 ص

first of all, instead of using the company ID to determine if the users can create partners, i'd use security rules, or at the very least, a boolean on the company. But this does not seem to be the problem here..

Is there any chance you call the create() method using sudo? could you check self.env.user.name to check if you logged in as user A?

1
Nathaniel
26‏/1‏/2018 6:12 ص

I seem to have called self.sudo()._lead_create_contact.  I guess that's it. Thanks!


Ask a Question
Writer
Keep Informed
1 follower(s)
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.

Register
Odoo Training Center

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

Test it now