Odoo Help

0

An exception while creating new user signup. Record does not exist or has been deleted. None

By
Hammad H Qureshi
on 2/5/16, 11:11 AM 904 views

I have installed auth_signup module to ensure signup functionality, but when I am trying to signup a new user either public user or template user, I am getting an exception. By investing on this I found that in
auth_signup/res_users.py , exception is where the following line of code are:

try:
    with cr.savepoint():
        return self.copy(cr, uid, template_user_id, values, context=context)

 I don't why cr.savepoint is returning None

0
Sarender Reddy
On 3/28/18, 8:05 AM

  • In My case i used below code.

request.env.cr.commit()   # as authenticate will use its own cursor we need to commit the current transaction

 It will save the user in database at current stage.

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

Question tools

1 follower(s)

Stats

Asked: 2/5/16, 11:11 AM
Seen: 904 times
Last updated: 3/28/18, 8:05 AM