Files
tradon/modules/stock/exceptions.py
2026-03-14 09:42:12 +00:00

49 lines
831 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 AssignError(UserError):
pass
class MoveValidationError(ValidationError):
pass
class LocationValidationError(ValidationError):
pass
class PeriodCloseError(UserError):
pass
class InventoryValidationError(ValidationError):
pass
class InventoryCountWarning(UserWarning):
pass
class MoveOriginWarning(UserWarning):
pass
class MoveFutureWarning(UserWarning):
pass
class ProductCostPriceError(ValidationError):
pass
class ProductStockWarning(UserWarning):
pass
class ShipmentCheckQuantityWarning(UserWarning):
pass