diff options
| author | Denis Ledoux <dle@odoo.com> | 2015-12-22 11:18:37 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2015-12-22 11:23:31 +0100 |
| commit | e04ddeaa2282b9a2951b68f1c0d1493a33cc8a9c (patch) | |
| tree | e9e052ab21a7357f67b9aec6effbb4ef39fe1d31 /addons/web/static/src/xml/base.xml | |
| parent | f7dab86a06ebd1669d7d2041ff843db33f5d7de6 (diff) | |
[FIX] web: client action change password
1. To change the page title, you now have to call
`set_title` from `require('web.web_client')`
2. Without the `type="button"`, the `Change Password`
button is regarded as a `type="submit"`, therefore
submitting the form, on `web` on click,
and `web` doesn't expect this POST request.
The POST request must be done on
`/web/session/change_password` only.
opw-660567
Diffstat (limited to 'addons/web/static/src/xml/base.xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 88b6efa6707..b3eb8334fa1 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -56,7 +56,7 @@ </tr> <tr> <td colspan="2" align="right"> - <button class='oe_button oe_form_button'>Change Password</button> + <button type="button" class='oe_button oe_form_button'>Change Password</button> <button type="button" class="oe_button oe_form_button_cancel oe_form_button oe_link" href="javascript:void(0)"><span>Cancel</span></button> </td> </tr> |
