Closed fw-bot closed 2 weeks ago
@hokolomopo @pro-odoo this PR targets master and is the last of the forward-port chain containing:
To merge the full chain, use
@robodoo r+
More info at https://github.com/odoo/odoo/wiki/Mergebot#forward-port
robodoo r+
Description
Currently the default translations function is marked as not loaded. That means that if no custom translation method is set, the translations will never be marked as loaded, and charts will crash because we try to deepCopy LazyTranslatedString.
However we can't mark the default translations as loaded by default, because otherwise top-level translations would always be translated before we can set the translation method.
The solution is to mark the default translations as loaded only when starting the model.
Task: : 3999116
review checklist
Forward-Port-Of: odoo/o-spreadsheet#4497