跳至内容
菜单
此问题已终结
1 回复
2322 查看

i inherited the web/login_layout template to make some changes in the login screen of odoo 14. i want to add some links of my company on the login view. static url that i add to my inherited views is working fine. like i make small module for that. now i want it dynamically i can add all the urls that is store in model. how can i do that i try it through xpath and add my fields there that didn't pick the fields actully here is code 

<templateid="inherited_login_layout"inherit_id="web.login_layout"name="Login page customization"><xpathexpr="//div[@class='text-center small mt-4 pt-3 border-top']"position="before"><divclass="oe_single_form_footer"style="bottom: -50px;"><divclass="text-center small mt-4 pt-3 border-top"><ahref="https://www.google.com"target="_blank"><span>Googlespan>a><spanclass="oe_footer_seperator">|span><ahref="https://www.facebook.com"target="_blank"><span>Facebookspan>a>div>div>xpath>template>
形象
丢弃
最佳答案

You can use these apps (search apps in odoo apps by names provided below) to change the whole login page style.

Moreover, these apps provide the ability to define your own favicon and logo as you wish.

Apps Name:

Minimalist Login Form

Creative Login Form

Advanced Login Form


形象
丢弃
相关帖文 回复 查看 活动
2
12月 21
4931
0
3月 21
3145
0
11月 23
3245
4
2月 24
32570
1
3月 22
2028