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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
1824
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 7 21
|
2038 | ||
|
1
thg 10 15
|
4808 | ||
How to alter js generated template?
Đã xử lý
|
|
1
thg 5 17
|
4440 | |
|
2
thg 3 25
|
4770 | ||
|
4
thg 2 25
|
2330 |