26 lines
503 B
Python
26 lines
503 B
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 SaleValidationError(ValidationError):
|
|
pass
|
|
|
|
|
|
class SaleQuotationError(ValidationError):
|
|
pass
|
|
|
|
|
|
class SaleConfirmError(UserError):
|
|
pass
|
|
|
|
|
|
class SaleMoveQuantity(UserWarning):
|
|
pass
|
|
|
|
|
|
class PartyLocationError(UserError):
|
|
pass
|