2021-04-04 15:50:01 +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.model.exceptions import (
|
2023-04-29 19:07:13 +02:00
|
|
|
RequiredValidationError, SizeValidationError, ValidationError)
|
2021-04-04 15:50:01 +02:00
|
|
|
from trytond.modules.product.exceptions import TemplateValidationError
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class GiftCardValidationError(TemplateValidationError):
|
|
|
|
|
pass
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class MoveGiftCardValidationError(
|
|
|
|
|
RequiredValidationError, SizeValidationError):
|
|
|
|
|
pass
|
2023-04-29 19:07:13 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
class GiftCardLineValidationError(ValidationError):
|
|
|
|
|
pass
|