2018-12-29 14:20:28 +01:00
|
|
|
# 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.exceptions import UserError, UserWarning
|
|
|
|
|
from trytond.model.exceptions import ValidationError
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class ProcessError(UserError):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class OverpayWarning(UserWarning):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
2023-09-11 12:47:13 +02:00
|
|
|
class ReconciledWarning(UserWarning):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
2026-02-13 14:22:58 +01:00
|
|
|
class PaymentMeanWarning(UserWarning):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
2018-12-29 14:20:28 +01:00
|
|
|
class PaymentValidationError(ValidationError):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class BlockedWarning(UserWarning):
|
|
|
|
|
pass
|
2019-04-12 19:43:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class GroupWarning(UserWarning):
|
|
|
|
|
pass
|