Files
tryton/modules/stock/exceptions.py
T
Cédric Krier edb3c2c2d4 Remove warning for inventory in the future
Since #10591 we can skip the warning of stock move in the future for newly
created moves.
2025-11-27 16:28:21 +01: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