Skip to Content
Menu
This question has been flagged
1785 Views

Hi, I'm facing a problem. I try to create new database in separate server to clear the unnecessary data. But, actually, my inherited /web/signup page is gone after I use this new db.

I keep thinking, how could the inherited template is missing whereas I use same source code. So I don't think it's related to code. But, I've tried all non-coding approaches to bring back my custom signup template, and it always ends without result. 

Is this problems related to code? Or I just simply needs to store the template value in Odoo views qweb? By the way, this is my code which inherits that template :

xml version="1.0" encoding="utf-8"?><odoo>    <templateid="inherit_signup_alkeba"inherit_id="auth_signup.fields">        <xpathexpr="//div[@class='form-group field-password pt-2']"position="replace">            <divclass="form-group field-password pt-2">                <labelfor="password">Passwordlabel>                <inputtype="password"name="password"id="password"class="form-control form-control-sm"                    required="required"t-att-autofocus="'autofocus' if only_passwords else None"/>                <spantoggle="#main-password-field"class="fa fa-fw fa-eye field-icon-main-password toggle-main-password">span>            div>        xpath>
        <xpathexpr="//div[@class='form-group field-confirm_password']"position="replace">            <divclass="form-group field-confirm_password">                <labelfor="confirm_password">Confirm Passwordlabel>                <inputtype="password"name="confirm_password"id="confirm_password"class="form-control form-control-sm"required="required"/>                <spantoggle="#password-field"class="fa fa-fw fa-eye field-icon-confirm toggle-confirm-password">span>            div>        xpath>
                <xpathexpr="//div[@class='form-group field-confirm_password']"position="after">            <divstyle="margin-top:30px;text-align:center;">                <inputtype="checkbox"id="term_condition"name="term_condition"value="termCondition"checked=""/>                <ahref="/terms_condition">                    <labelstyle="cursor:pointer;color:#17755d !important;"for="termCondition"> Term & Conditionlabel><br/>                a>                <p>                    Dengan Anda Mengkatifkan Kolom Ini Berarti Anda Setuju Dengan Syarat Dan Ketentuan Kami                p>            div>        xpath>
    template>
    <templateid="inherit_signup_button_alkeba"inherit_id="auth_signup.signup">        <xpathexpr="//div[@class='text-center oe_login_buttons pt-3']"position="replace">            <divclass="text-center oe_login_buttons pt-3">                <buttontype="submit"id="signUpBtnAlkeba"class="btn btn-primary btn-block"> Sign upbutton>                <at-attf-href="/web/login?{{ keep_query() }}"class="btn btn-link btn-sm"role="button">Already have an account?a>                <divclass="o_login_auth"/>            div>        xpath>    template>
    <templateid="inherit_login_layout"inherit_id="web.login">        <xpathexpr="//div[@class='form-group field-password']"position="replace">            <divclass="form-group field-password">                <labelfor="password">Passwordlabel>                <inputtype="password"placeholder="Password"name="password"id="password"t-attf-class="form-control #{'form-control-sm' if form_small else ''}"required="required"autocomplete="current-password"t-att-autofocus="'autofocus' if login else None"maxlength="4096"/>                <spantoggle="#main-password-field"class="fa fa-fw fa-eye field-icon-main-password toggle-main-password">span>            div>        xpath>    template>


odoo>

Any help would be very much appreciated!

Thank you a lot in advance!
Andromeda

Avatar
Discard
Related Posts Replies Views Activity
0
Jul 21
1999
1
Oct 15
4771
1
May 17
4378
2
Mar 25
4738
4
Feb 25
2255