2021-07-23 00:35:39 +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 PayValidationError(ValidationError):
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
class ProductionValidationWarning(UserWarning):
|
|
|
|
pass
|
2023-01-06 00:32:44 +01:00
|
|
|
|
|
|
|
|
|
|
|
class DeleteSaleError(ValidationError):
|
|
|
|
pass
|
2023-06-28 00:06:04 +02:00
|
|
|
|
|
|
|
class ProductMixRequiredError(UserError):
|
|
|
|
pass
|