Odoo Help


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.


How to use openerp '../auth_signup/reset_password' service?

Hammad hussain qureshi
on 5/2/15, 3:26 AM 530 views

I have enable the reset password setting in openerp. And found that a button appears at the login screen enabling user to reset password. Inspecting this button, I found that this button is using a xml rpc call service to send a email with reset password link.. 

self.rpc("/auth_signup/reset_password", { dbname: db, login: login }).done(function(result) {

                self.show_error(_t("An email has been sent with credentials to reset your password"));


So I wanted to use this service in my client app, to enable the user to reset password same as the openerp does, so I have written the following code:


url: 'http://openerp.example.com/auth_signup/reset_password',

methodName: 'call',

dataType: 'jsonrpc',

// params: [dbname, 'sperson3', ''],

params: {'dbname':dbname, 'login':'user1', 'context':{}},

success: function(response, status, jqXHR) {




error: function(response, status, jqXHR) {





But this always returning in error. am I doing something wrong? can we use the service like this. Please help me for this.




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)


Asked: 5/2/15, 3:26 AM
Seen: 530 times
Last updated: 5/4/15, 5:26 AM