Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
14049 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Tác giả

Hi Luke, I'am running on a local instance

Câu trả lời hay nhất

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"

Ảnh đại diện
Huỷ bỏ
Tác giả

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"?

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
572
5
thg 8 25
10066
2
thg 7 25
1087
4
thg 6 25
1241
1
thg 6 25
1568