Files
tryton/exceptions.py
T
Cédric Krier b035935cef Manage move in future at inventory level
As the inventory creates and do the moves in the same transaction, the warning
about effective date in future can not be ignored (the ids change).
Also the warning name should be based on an ordered list of record to ensure to
generate always the same name.

issue9707
review328441002
2020-10-12 20:31:27 +02:00

41 lines
719 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 LocationValidationError(ValidationError):
pass
class PeriodCloseError(UserError):
pass
class InventoryValidationError(ValidationError):
pass
class InventoryCountWarning(UserWarning):
pass
class MoveOriginWarning(UserWarning):
pass
class MoveFutureWarning(UserWarning):
pass
class InventoryFutureWarning(UserWarning):
pass
class ProductCostPriceError(ValidationError):
pass