We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Here
anthem/anthem/lyrics/modules.py
Lines 23 to 44 in e067afb
The text was updated successfully, but these errors were encountered:
The calls seems to be:
ir.module.module._update_translations
ir.translation.load_module_terms
tools.translate.trans_load
EDIT: The issue is maybe in the fourth call:
tools.translate.trans_load_data
context
ir.translation
Sorry, something went wrong.
BTW for V14 this change broke our implementation here
odoo/odoo@ac63556
The overwrite context key has been replace by an argument. It is present on module's _update_translation() method: https://github.com/odoo/odoo/blob/14.0/odoo/addons/base/models/ir_module.py#L908
_update_translation()
Thus for v14 we will want to call:
Module._update_translation(overwrite=overwrite)
No branches or pull requests
Here
anthem/anthem/lyrics/modules.py
Lines 23 to 44 in e067afb
we specify overwrite=True, so existing translation should be overwritten.
While debugging here (where it's supposed to be upserted)
https://github.com/odoo/odoo/blob/5d40023eaf9b3c25941429e7fac266722780846d/odoo/addons/base/models/ir_translation.py#L137
always have self._overwrite=False.
The text was updated successfully, but these errors were encountered: