Update to 7.0 - number of digits exeeds limit

I updated my install in pip from 6.8 to 7.0. Doing the [console] command failed:

$ trytond-console -d 70-realprod -c trytond.conf 
Tryton 7.0.5, Python 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0] on linux
>>> Invoice = pool.get('account.invoice')
>>> invoices = Invoice.search([('state', 'in', ['posted', 'paid'])])
>>> for invoice in invoices:
...     invoice.untaxed_amount_cache = invoice.untaxed_amount
...     invoice.tax_amount_cache = invoice.tax_amount
...     invoice.total_amount_cache = invoice.total_amount
>>> Invoice.save(invoices)
Traceback (most recent call last):
  File "/usr/lib/python3.10/code.py", line 90, in runcode
    exec(code, self.locals)
  File "<console>", line 1, in <module>
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/model/descriptors.py", line 33, in newfunc
    return self.func(owner, *args, **kwargs)
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/model/modelstorage.py", line 1971, in save
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/modules/account_invoice/invoice.py", line 1392, in write
    super(Invoice, cls).write(*args)
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/model/modelsql.py", line 262, in wrapper
    return func(cls, *args, **kwargs)
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/model/modelsql.py", line 1391, in write
    cls._validate(sub_records, field_names=all_field_names)
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/transaction.py", line 50, in wrapper
    return func(*args, **kwargs)
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/model/modelstorage.py", line 1373, in _validate
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/model/modelstorage.py", line 1274, in validate_domain
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/trytond/model/modelstorage.py", line 1352, in validate_relation_domain
    raise DomainValidationError(
trytond.model.modelstorage.DomainValidationError: The value "3300 - Verbindlichkeiten aus Lieferungen und Leistungen" for field "Payment Lines" in "Lief-2022-24" of "Invoice" is not valid according to its domain. - 

When now trying to finalize a customers’ shipment, I get the error "number of digits exeeds the limit of “6”:

6 digits is actually set, 0,1155 is not the actual value of the item.

What shall I do?