Files
tryton/modules/account_invoice/exceptions.py
T

50 lines
869 B
Python
Raw Normal View History

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.
2021-01-28 11:01:11 +01:00
from trytond.exceptions import UserError, UserWarning
2018-12-29 14:20:28 +01:00
from trytond.model.exceptions import ValidationError
class PaymentTermValidationError(ValidationError):
pass
class PaymentTermComputeError(UserError):
pass
class InvoiceTaxValidationError(ValidationError):
pass
class InvoiceNumberError(ValidationError):
pass
class InvoiceValidationError(ValidationError):
pass
class InvoiceLineValidationError(ValidationError):
pass
class PayInvoiceError(UserError):
pass
2021-01-28 11:01:11 +01:00
class InvoicePaymentTermDateWarning(UserWarning):
pass
class InvoiceFutureWarning(UserWarning):
pass
class InvoiceSimilarWarning(UserWarning):
pass
class CancelInvoiceMoveWarning(UserWarning):
pass