Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[REV] Revert c43647f: "[FIX] odoo: Traceback when creating a new cont…
…act" This reverts commit c43647f. That change was not tested properly and can cause unforeseen errors because it has far-reaching consequences, modifying the fallback language on all requests. One of the consequences is an alteration of the behavior of the translation function `_()` due to the absence of a default language. For users with no language set, it will now translate False/None values as False/None, rather than the empty string fallback. Code that was not prepared to deal with those non-str translations will now crash. Besides, 'en_US' is a hardcoded default used in many areas of the code, and we cannot get rid of it like this, especially in a stable series. Cfr odoo#52758 closes odoo#53254 Signed-off-by: Olivier Dony (odo) <[email protected]>
- Loading branch information