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.


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

Ahmed elbarbary
on 1/4/15, 6:44 AM 486 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

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: 1/4/15, 6:44 AM
Seen: 486 times
Last updated: 3/16/15, 8:10 AM