Skip to content
Health
35/100
poor
  • Security25/25
    No findings
  • Activity0/25
    Last human commit 63 months ago
  • Required by5/25
    0 modules depend on it
  • Maturity5/25
    In 1 Odoo series since 12.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
AGPL-3
No conflicts with its dependencies
Folder size
0.08 MB
Module directory on disk
Code analysis 1 migration note 2 models 2 views 0 HTTP endpoints

Description

Dependencies

Odoo dependencies
odoo/odoo:
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 IDNameModelTypeStatus
res_lang_default_form res.lang.default.form res.lang form Inherits base.res_lang_form
res_lang_default_tree res.lang.default.tree res.lang tree Inherits base.res_lang_tree

HTTP endpoints 0

No HTTP endpoints found for this module.

Models touched 2

New fields (0)

No new fields.

Public methods (1)
  • write(self, vals)
    @api.multi
    This part of code comes from https://bazaar.launchpad.net/~eoc/openobject-server/ + 6.1-overwrite_changes_translatable_fields/revision/4377 When the main language in the company is not English, you cannot change the value of a translatable field in the table if you not switch the client interface to 'en_US', because the new value will be written to ir_translation table instead of the table model. This complicates usability, and the default language for "model" values hardcoded as 'en_US' should be configurable (see https://bugs.launchpad.net/openobject-server/+bug/400256). With this patch, all changes made in selected default language will be written in 'en_US' too (in the table model) if : - vals are modified (it is later checked if vals are on translatable fields) - more than one language is installed - default language is set - current language = default language and not 'en_US' Also, translations in the other languages are changed to to_translate

New fields (1)
  • is_default_lang Boolean
    default=False args: 'Default Language'
Public methods (0)

No public methods.