You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # -*- coding: utf-8 -*-
- from odoo import http
- from odoo.addons.website.controllers.main import Website
-
-
- class WebsiteInfo(Website):
- @http.route()
- def website_info(self):
- result = super(WebsiteInfo, self).website_info()
- result.qcontext['apps'] = result.qcontext['apps'].filtered(
- lambda x: x.name != 'website'
- )
- return result
|