-
- Downloads
[MERGE] base: remove field source of ir.translation
Instead, make sure the field src is always up to date Change a bit the behaviour of `_write` to always try to update potential translations when in monolanguage (was only done in multi-language if different than en_US) and always create translations when writing on a translatable field when in multi-language (was skipped in en_US) Add tests Task-id: 2031752 Pad: https://pad.odoo.com/p/r.dbf835d0aae979d858f73446dcbfb1df closes odoo/odoo#34598 Signed-off-by:Martin Trigaux (mat) <mat@odoo.com>
No related branches found
No related tags found
Showing
- addons/transifex/models/ir_translation.py 2 additions, 2 deletionsaddons/transifex/models/ir_translation.py
- addons/website_gengo/controllers/main.py 1 addition, 1 deletionaddons/website_gengo/controllers/main.py
- odoo/addons/base/models/ir_translation.py 46 additions, 52 deletionsodoo/addons/base/models/ir_translation.py
- odoo/addons/base/tests/test_translate.py 151 additions, 0 deletionsodoo/addons/base/tests/test_translate.py
- odoo/addons/base/views/ir_translation_views.xml 4 additions, 4 deletionsodoo/addons/base/views/ir_translation_views.xml
- odoo/addons/test_new_api/tests/test_new_fields.py 1 addition, 2 deletionsodoo/addons/test_new_api/tests/test_new_fields.py
- odoo/models.py 26 additions, 6 deletionsodoo/models.py
Loading
Please register or sign in to comment