summaryrefslogtreecommitdiff
path: root/odoo/exceptions.py
diff options
context:
space:
mode:
authorChristophe Simonis <chs@odoo.com>2017-08-01 17:54:09 +0200
committerChristophe Simonis <chs@odoo.com>2017-08-01 17:54:09 +0200
commitd3154e0ef4043321dfd211f74efb0a927b91cbe4 (patch)
tree79e5e28da532c5d9ee8d8ae6b5a6bdd049a9925d /odoo/exceptions.py
parenta6900c43b44edb52f5f998405198d1f95221d418 (diff)
parentaf9868bc281721fe5d9ec323f9461fe735320b73 (diff)
[MERGE] forward port branch saas-14 up to af9868bc281
Diffstat (limited to 'odoo/exceptions.py')
-rw-r--r--odoo/exceptions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/exceptions.py b/odoo/exceptions.py
index d83e350c624..edde12cb3ae 100644
--- a/odoo/exceptions.py
+++ b/odoo/exceptions.py
@@ -30,7 +30,7 @@ class except_orm(Exception):
class UserError(except_orm):
def __init__(self, msg):
- super(UserError, self).__init__(msg)
+ super(UserError, self).__init__(msg, value='')
# deprecated due to collision with builtins, kept for compatibility