summaryrefslogtreecommitdiff
path: root/odoo/exceptions.py
diff options
context:
space:
mode:
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