Add ir.message and use custom exceptions
issue3672
This commit is contained in:
1 parent
e7b20f3920
commit
5fc14d8a78
5 files changed
+44
-43
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user