diff options
| author | Christophe Matthieu <chm@odoo.com> | 2017-04-20 10:18:32 +0200 |
|---|---|---|
| committer | Christophe Matthieu <chm@odoo.com> | 2017-04-20 17:07:37 +0200 |
| commit | 30bb41d588b940e264be462355ae2872cf095c6b (patch) | |
| tree | 9a28e791be89cefc311c5435c3deba8fa0c5eb7c /addons/web/static/src/js/views/basic/basic_view.js | |
| parent | 19eef5d658d46719665635e28883be755f395813 (diff) | |
[FIX] models.py, all: lang in context can be None
Different method use self._context.get('lang', 'en_US') to get the lang
value but, the lang in the context can be set to None (eg: copy method).
When the context is used with a lang=None, the method can have a
unexpected behavior or crashed (eg: if you try to format a datetime with a
locale=None)lang can be None
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_view.js')
0 files changed, 0 insertions, 0 deletions
