From b135375dfa581cb1b5dd93d2aad9ae7603c13b32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20BEAU?= Date: Wed, 21 Dec 2016 16:14:22 +0100 Subject: [PATCH] fix complatibility with 8 --- base_jsonify/models/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base_jsonify/models/models.py b/base_jsonify/models/models.py index 1bbbda166..bf92be980 100644 --- a/base_jsonify/models/models.py +++ b/base_jsonify/models/models.py @@ -4,7 +4,7 @@ # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). from openerp import api, models -from openerp.exceptions import UserError +from openerp.exceptions import Warning as UserError @api.multi