first commit
This commit is contained in:
25
modules/sale/exceptions.py
Normal file
25
modules/sale/exceptions.py
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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 SaleValidationError(ValidationError):
|
||||
pass
|
||||
|
||||
|
||||
class SaleQuotationError(ValidationError):
|
||||
pass
|
||||
|
||||
|
||||
class SaleConfirmError(UserError):
|
||||
pass
|
||||
|
||||
|
||||
class SaleMoveQuantity(UserWarning):
|
||||
pass
|
||||
|
||||
|
||||
class PartyLocationError(UserError):
|
||||
pass
|
||||
Reference in New Issue
Block a user