Skip to content
Health
60/100
fair
  • Security25/25
    No findings
  • Activity25/25
    Last human commit 1 month ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 20.0

Heuristic over the facts below, not an audit · How it's computed

Security findings
Grave / minor (static analysis)
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

Odoo dependencies
odoo/odoo:
- web
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 0

No views found for this module.

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 7

New fields (1)
  • code Integer
    args: 'Code'
Public methods (0)

No public methods.

New fields (3)
  • name Char
    help='Help, English' translate=True args: 'Name'
  • selection Selection
    export_string_translation=False args: [('foo', 'Selection Foo'), ('bar', 'Selection Bar')]
  • xml Text
    translate=xml_translate args: 'XML'
Public methods (5)
  • 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_id Many2one → test.translation.model1
    ondelete='cascade' required=True args: 'test.translation.model1'
Public methods (0)

No public methods.

New fields (2)
  • html Html
    translate=html_translate args: 'HTML'
  • name Char
    translate=True args: 'Name'
Public methods (0)

No public methods.

New fields (6)
  • computed_html Char
    compute='_compute_html' args: 'HTML Computed'
  • computed_name Char
    compute='_compute_name' args: 'Name Computed'
  • html Html
    readonly=False related='related_id.html' args: 'HTML Related'
  • name Char
    readonly=False related='related_id.name' args: 'Name Related'
  • name_en Char
    compute='_compute_name_en' args: 'Name EN'
  • related_id Many2one → test_translation.related_translation_1
    string='Parent Model' args: 'test_translation.related_translation_1'
Public methods (0)

No public methods.

New fields (3)
  • html Html
    readonly=False related='related_id.html' args: 'HTML Related'
  • name Char
    readonly=False related='related_id.name' args: 'Name Related'
  • related_id Many2one → test_translation.related_translation_2
    string='Parent Model' args: 'test_translation.related_translation_2'
Public methods (0)

No public methods.

New fields (1)
  • related_id Many2one → test_translation.related_translation_1
    ondelete='cascade' required=True string='Parent Model' args: 'test_translation.related_translation_1'
Public methods (0)

No public methods.