Wrong import for an extras_depend: from trytond.modules.account_invoice.exceptions import PaymentTermComputeError
From Debian CI https://salsa.debian.org/tryton-team/tryton-modules-account-cash-rounding/-/jobs/3293647/raw
ModuleNotFoundError: No module named 'trytond.modules.account_invoice'
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "/usr/lib/python3/dist-packages/trytond/tests/run-tests.py", line 45, in from trytond.tests.test_tryton import all_suite, modules_suite # noqa: E402 File "/usr/lib/python3/dist-packages/trytond/tests/test_tryton.py", line 41, in Pool.start() File "/usr/lib/python3/dist-packages/trytond/pool.py", line 105, in start register_classes() File "/usr/lib/python3/dist-packages/trytond/modules/init.py", line 347, in register_classes the_module = import_module(module) File "/usr/lib/python3/dist-packages/trytond/modules/init.py", line 76, in import_module module = spec.loader.load_module() File "/usr/lib/python3/dist-packages/trytond/modules/account_cash_rounding/init.py", line 5, in from . import account File "/usr/lib/python3/dist-packages/trytond/modules/account_cash_rounding/account.py", line 11, in from trytond.modules.account_invoice.exceptions import PaymentTermComputeError ModuleNotFoundError: No module named 'trytond.modules.account_invoice' autopkgtest [18:52:05]: test run-testsuite: -----------------------]