Website Menu Multilanguage
website_menu_multilang · OCA/website
Health
48/100
poor
-
Security25/25No findings
-
Activity0/25Last human commit 122 months ago
-
Required by5/250 modules depend on it
-
Maturity18/25In 3 Odoo series since 8.0
Heuristic over the facts below, not an audit · How it's computed
Required by
0
Modules depending on it
External deps
0 pip · 0 bin
Python packages / system binaries
License
LGPL-3
No conflicts with its dependencies
Folder size
0.0 MB
Module directory on disk
Code analysis
3 migration notes
1 model
2 views
0 HTTP endpoints
Migration considerations
WebsiteMenu— Class 'WebsiteMenu' still inherits from the old-style `orm.Model` API: rewrite it against `models.Model`/`models.TransientModel`/`models.AbstractModel` - the old `osv`/`orm` API was removed entirely in modern Odoo. migration-old-api-base · sourceWebsiteMenu— Class 'WebsiteMenu' declares `_columns` as a plain dict: old-style field/default declarations, replace with `fields.X(...)` class attributes and `default=`. (2 occurrences in this file) migration-old-style-fields · source- Since 10.0: the `openerp` namespace was renamed to `odoo`; only a deprecated `openerp.addons` alias remained. (`openerp.osv`) migration-openerp-import · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
Enables specifying languages for Website Menus.
When website is viewed in specific language only Menus in that language will be displayed.
TODO:
- Restrict direct URL access for pages of unspecified language
- Proper sitemap.xml generation
- Theme compatibility
- Tests
Dependencies
- Odoo dependencies
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 2
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
menu_multilang |
Multilanguage support for Menus | ir.ui.view | qweb | Inherits website.layout |
menu_tree_inherit |
website.menu.tree.inherit | website.menu | tree | Inherits website.menu_tree |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 1
New fields (0)
No new fields.
Public methods (1)-
available_in_lang(self, request_lang)Check if menu is available in specific Language :param string request_lang: language code to check against
Loading…
Loading…