Ensure that the unit price on the invoice line is not negative for Peppol

Closes #14504
This commit is contained in:
Cédric Krier committed 2026-01-15 22:34:01 +01:00
1 parent b0ff152120
commit f38652ef03
4 files changed
+21 -2

No files matched your search

+5 -1
View File
@@ -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