75 lines
1.2 KiB
Python
75 lines
1.2 KiB
Python
|
# 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 WageTypeValidationError(ValidationError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class MissingPartyWageType(WageTypeValidationError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PayrollDeleteError(ValidationError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PayrollExistPeriodError(UserError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PayrollPeriodCloseError(ValidationError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PayrollMissingSequence(ValidationError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PayrollValidationError(UserError):
|
||
|
pass
|
||
|
|
||
|
|
||
|
class PeriodValidationError(UserError):
|
||
|
pass
|
||
|
|
||
|
class MissingConfigPosition(UserError):
|
||
|
pass
|
||
|
# class DontWriteAccountError(UserError):
|
||
|
# pass
|
||
|
#
|
||
|
#
|
||
|
# class MissingInvoiceTaxError(UserError):
|
||
|
# pass
|
||
|
#
|
||
|
#
|
||
|
# class InvoiceDuplicatedError(UserError):
|
||
|
# pass
|
||
|
#
|
||
|
#
|
||
|
# class NotificationAuthError(UserError):
|
||
|
# pass
|
||
|
#
|
||
|
#
|
||
|
# class NotificationAuthWarning(UserWarning):
|
||
|
# pass
|
||
|
#
|
||
|
#
|
||
|
# class AuthExpiredError(UserError):
|
||
|
# pass
|
||
|
#
|
||
|
#
|
||
|
# class InvalidTypeInvoiceError(UserError):
|
||
|
# pass
|
||
|
#
|
||
|
#
|
||
|
# class ImportMoveDataError(UserError):
|
||
|
# pass
|
||
|
|
||
|
|
||
|
# class AccountMoveCreatedError(UserWarning):
|
||
|
# pass
|