Test Translation
test_translation · odoo/odoo
Health
60/100
fair
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity5/25In 1 Odoo series since 20.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.21 MB
Module directory on disk
Code analysis
0 migration notes
7 models
0 views
0 HTTP endpoints
Description
A module to test translation.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 0
No views found for this module.
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 7
New fields (1)
-
codeIntegerargs: 'Code'
No public methods.
New fields (3)
-
nameCharhelp='Help, English'translate=True args: 'Name' -
selectionSelectionexport_string_translation=False args: [('foo', 'Selection Foo'), ('bar', 'Selection Bar')] -
xmlTexttranslate=xml_translate args: 'XML'
-
get_code_lazy_translation(self) -
get_code_named_placeholder_translation(self, *args, **kwargs) -
get_code_placeholder_translation(self, *args, **kwargs) -
get_code_translation(self) -
test_deeply_nested_translations(self)
New fields (1)
-
model1_idMany2one → test.translation.model1ondelete='cascade'required=True args: 'test.translation.model1'
No public methods.
New fields (2)
-
htmlHtmltranslate=html_translate args: 'HTML' -
nameChartranslate=True args: 'Name'
No public methods.
New fields (6)
-
computed_htmlCharcompute='_compute_html' args: 'HTML Computed' -
computed_nameCharcompute='_compute_name' args: 'Name Computed' -
htmlHtmlreadonly=Falserelated='related_id.html' args: 'HTML Related' -
nameCharreadonly=Falserelated='related_id.name' args: 'Name Related' -
name_enCharcompute='_compute_name_en' args: 'Name EN' -
related_idMany2one → test_translation.related_translation_1string='Parent Model' args: 'test_translation.related_translation_1'
No public methods.
New fields (3)
-
htmlHtmlreadonly=Falserelated='related_id.html' args: 'HTML Related' -
nameCharreadonly=Falserelated='related_id.name' args: 'Name Related' -
related_idMany2one → test_translation.related_translation_2string='Parent Model' args: 'test_translation.related_translation_2'
No public methods.
New fields (1)
-
related_idMany2one → test_translation.related_translation_1ondelete='cascade'required=Truestring='Parent Model' args: 'test_translation.related_translation_1'
No public methods.