summaryrefslogtreecommitdiff
path: root/odoo/addons/base/module/module_data.xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@odoo.com>2017-04-20 10:16:29 +0200
committerChristophe Matthieu <chm@odoo.com>2017-04-20 10:47:43 +0200
commit6ecbbf8b96ccc8a3d954f12051a3e929422a4c3e (patch)
treee6f0d3fa4d9eeb48739bd7a9f8559b4f68b717cd /odoo/addons/base/module/module_data.xml
parented2bc6dbc3edbbe8205cb095473ee765f21360b5 (diff)
[FIX] models.py, account, calendar, product: 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)
Diffstat (limited to 'odoo/addons/base/module/module_data.xml')
0 files changed, 0 insertions, 0 deletions