Ensure that the unit price on the invoice line is not negative for Peppol
Closes #14504
This commit is contained in:
1 parent
b0ff152120
commit
f38652ef03
4 files changed
+21
-2
No files matched your search
@@ -1,12 +1,16 @@
|
||||
# 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 UserWarning
|
||||
from trytond.exceptions import UserError, UserWarning
|
||||
|
||||
|
||||
class InvoicePeppolRequired(UserWarning):
|
||||
pass
|
||||
|
||||
|
||||
class InvoicePeppolError(UserError):
|
||||
pass
|
||||
|
||||
|
||||
class PeppolServiceError(Exception):
|
||||
pass
|
||||
Reference in new issue
Block a user