TIP: You can type at any time to perform a new search.
Language path mixin
language_path_mixin · OCA/server-tools
- Repository
- OCA/server-tools · module folder · Try on Runboat
- Module version
- 1.0.0
- Category
- Tools
- Folder size
- 0.01 MB
- License
- AGPL-3
- Application
- No
- Auto-installable
- No
- Website
- https://github.com/OCA/server-tools
- Last tracking update
- 2026-08-07 07:17:48
- Authors
- Odoo Community Association (OCA), Therp BV
- Maintainers
- Odoo Community Association (OCA)
- Committers
- Pedro M. Baeza
- Odoo dependencies
-
odoo/odoo:- base
- Python dependencies
- None
- System dependencies
- None
- Required by
- None
- Description
Code Analysis ⓘ
Views touched (0)
No views found for this module.
HTTP endpoints (0)
No HTTP endpoints found for this module.
Models touched (1)
New fields (0)
No new fields.
Public methods (1)-
with_language_path(self, path=None)This method allows the system to iterate over a RecordSet with each of the records being browsed in the language specified by the model's _language_path attribute. Of course, this is a cache killer. It was conceived to make translations in rml reports work again as using setLang() in the report does not work as expected anymore in 8.0 due to the way that caching works in the new API
Loading…
Loading…