diff options
| author | Christophe Simonis <chs@odoo.com> | 2017-08-01 17:59:16 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2017-08-01 17:59:16 +0200 |
| commit | a42b056ca93a021d30afdb74cda3b6683b9b954f (patch) | |
| tree | cfbfb9b89254affbad1d72318d051e4533eab9d7 /odoo/exceptions.py | |
| parent | 435c2eae19e3b955f94ab40f99071ef2dcffc540 (diff) | |
| parent | d3154e0ef4043321dfd211f74efb0a927b91cbe4 (diff) | |
[MERGE] forward port branch saas-15 up to d3154e0ef40
Diffstat (limited to 'odoo/exceptions.py')
| -rw-r--r-- | odoo/exceptions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/odoo/exceptions.py b/odoo/exceptions.py index 1facc6207cb..c318f9ecdac 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 |
