Odoo Help


Reset password with customization loginpane didn't appear (V7) ?

Ahmed elbarbary
on 1/4/15, 6:44 AM 758 views

i am using openerp v 7 and i customize login page in seperate module login_page and add base.xml file in login_page folder with this

<?xml version="1.0" encoding="UTF-8"?>

  <t t-extend="Login">

      <t t-jquery="div.oe_login" t-operation="replace">
        <div class="oe_login">

                <t t-jquery="div.oe_login_bottom" t-operation="replace">
                      <div class="oe_login_bottom">

                <t t-jquery="div.oe_login_error_message" t-operation="replace">        

                    <div class="oe_login_error_message"/>

                        <t t-jquery="div.oe_login_pane" t-operation="replace">        
                            <div class="oe_login_pane">
                                <t t-jquery="div.oe_login_logo" t-operation="replace">
                                        <div class="oe_login_logo"><img src='/login_page/static/src/img/logo.jpg'/>
                                <form action="" method="post">

                                <t t-jquery="div.oe_login_dbpane" t-operation="replace">            
                                        <div class="oe_login_dbpane" >
                                                <input name="db" t-att-value="widget.selected_db || ''"/>

                                           <li>Login to your account : </li>
                                           <li>Username : <input name="login" type="text" value="" autofocus="autofocus"/></li>
                                            <li>Password  : <input name="password" type="password" value=""/></li>

                                            <li><button name="submit">Log in</button></li>

                                <t t-jquery="div.oe_login_footer" t-operation="replace">
                                        <div class="oe_login_footer">
                                            <a href="http://www.mycompany.com" target="_blank"><span>www.mycompany.com</span></a>




and it is working fine bt when  i select allow user to reset password from setting--> general setting, the reset password doesn't appear and when i comment this code in login_page/static/src/xml/base_xml it  appears ?!

could you help me on this ?
Thanks in advance

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.


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)


Asked: 1/4/15, 6:44 AM
Seen: 758 times
Last updated: 3/16/15, 8:10 AM