Odoo Help

0

How to change password of users using python code

By
aneesh ATEES Infomedia Pvt Ltd
on 7/6/16, 3:14 AM 874 views

I want to change password of  res.user by  using my custom module...how it possible

1
Axel Mendoza
On 7/6/16, 5:46 AM

simply by doing:

self.env['res.users'].write({'password': 'passwrod_value'})

will work


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: 7/6/16, 3:14 AM
Seen: 874 times
Last updated: 7/6/16, 6:20 AM