Add ir.message and use custom exceptions

issue3672
This commit is contained in:
Cédric Krier committed 2018-12-29 14:20:29 +01:00
1 parent e7b20f3920
commit 5fc14d8a78
5 files changed
+44 -43

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
# This file is part of Tryton. The COPYRIGHT file at the top level of
# this repository contains the full copyright notices and license terms.
from trytond.model.exceptions import ValidationError
class AccountValidationError(ValidationError):
pass
class RootValidationError(ValidationError):
pass