2021-06-04 23:04:40 +02: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 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
|
|
|
|
|
2021-06-09 17:00:36 +02:00
|
|
|
|
2021-06-04 23:04:40 +02:00
|
|
|
class MissingConfigPosition(UserError):
|
|
|
|
pass
|