Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
14050 มุมมอง

Hi,

I'd like not have the link "Login" from the menu of the website, I see in the model:

<template id="show_sign_in" customize_show="True" inherit_id="website.layout" name="Show Sign In" groups="base.group_public">
    <xpath expr="//ul[@id='top_menu']" position="inside">
        <li class="divider"/>
        <li>
            <a t-attf-href="/web/login">
                <b>Sign in</b>
            </a>
        </li>
    </xpath>
</template>

but in the "Customize" menu I do not see a check box to disable it.

 

How I can disable this link menu ?

Thanks

อวตาร
ละทิ้ง

Hi Jérémy, are you running on SaaS or a local instance?

ผู้เขียน

Hi Luke, I'am running on a local instance

คำตอบที่ดีที่สุด

Hi Jeremy,

The simplest way, with an user with Technical Features enabled:

Configuration -> View -> Search for the view "Show Sign In" or "website.show_sign_in".

Then, you can uncheck "Active"

อวตาร
ละทิ้ง
ผู้เขียน

Thanks, but if I update the Odoo with the parameter -u all, Is this setting will return to its original state?

My user with technical features does not find "view". Is it supposed to be in "Settings"?

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ส.ค. 25
581
5
ส.ค. 25
10066
Carrusel en sitios web แก้ไขแล้ว
2
ก.ค. 25
1087
How to launch my website แก้ไขแล้ว
4
มิ.ย. 25
1242
1
มิ.ย. 25
1569