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

De URL '/website/info' show information about the installed modules in 8.0.  There is a notify on the page "Note: To hide this page, uncheck it from the top Customize menu.", but I can't find this option.

形象
丢弃
最佳答案

You can uncheck 'active' field on the view. We developed a fault tolerant controller that allows this.

We will fix to make it appear in customize menu
形象
丢弃

Unchecked active, yet the page still shows? What did I do wrong?

编写者

@John, confirmed but you can edit de view en remove the information code as a workaround.

@Fabien,

I just saw this PR waiting to be merged into 8.0 that fixes the issue:

https://github.com/odoo/odoo/pull/6199

Thanks!

最佳答案

Hi Mario. It does seem like Fabien's approach should work, but there is a modifier that requires Active to be True. So here's an alternative approach until the Customize Menu is modified.

Go to Settings - User Interface - Views. Now search for "Odoo Information". That's the view you want to check off to make inactive, but it won't let you. So what I did instead was to turn the first and last div tags into comments. (You can't do it any higher up because the framework is expecting those template tags to build the page.) The end result is a plain website with all of the /website/info information hidden. It's certainly not the most elegant solution, but it is quick and it works.

I hope this helps. Good luck!

形象
丢弃
最佳答案

Hi,

I think this addons will help you

https://github.com/savoirfairelinux/website/tree/8.0-website_menu_display/website_menu_by_user_status

(from https://www.odoo.com/forum/help-1/question/how-to-hide-the-shop-for-unregistered-users-74859)

形象
丢弃
最佳答案

As Fabien said this is fixed by Odoo. Go to website, for example:

http://243011-8-0-fe73fc.runbot9.odoo.com/website/info

And in the menu go to "Customize" and uncheck "Show Odoo info"

形象
丢弃
最佳答案

https://youtu.be/zHPtb1SR8Sk

形象
丢弃
最佳答案

Please checkout module to make website info page as private 

https://bitbucket.org/BizzAppDev/oerp_no_website_info 

形象
丢弃
最佳答案

Checkout Configuration -- Views -- Footer Copyright and uncheck it. Or re-use code to place your ad if you please.

形象
丢弃
最佳答案

Hi, Mario

Do you have been able to disable the page /website/info?? 


- I tried to go " Settings - User Interface - Views. and go to "Odoo Information"." But this view doesn't exist.
I tried to installed the module oerp_no_website_info but it doesn't work because is a copy from " /addons/website/controllers/main.py" Line 143. And it doesn't do nothing.

- I tried to uncheck it from the top Customize menu.", but this option doesn't exist on Odoo 8.



How it's possible hide this view (/website/info)????

Any help, please???
形象
丢弃