Error when opening invoices

I’m facing more trouble with invoicing services:
When trying to post a service invoice (with prices manually filled in before) I get there messages:

  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/tryton/gui/window/view_form/view/form.py", line 616, in button_clicked
    self.screen.button(widget.attrs)
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/tryton/gui/window/view_form/screen/screen.py", line 1199, in button
    if not record.validate(fields, pre_validate=domain):
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/tryton/gui/window/view_form/model/record.py", line 420, in validate
    if not field.validate(self, softvalidation, pre_validate):
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/tryton/gui/window/view_form/model/field.py", line 886, in validate
    test = super(O2MField, self).validate(record, softvalidation,
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/tryton/gui/window/view_form/model/field.py", line 115, in validate
    unique, leftpart, value = unique_value(
  File "/home/wd/TRYTON/70-realprod/lib/python3.10/site-packages/tryton/common/domain_inversion.py", line 431, in unique_value
    value = value if operator == '=' and single_value else value[0]

TypeError: 'int' object is not subscriptable

Hope this helps to narrow down the problem.

Cheers,
Wolf

Seams the same reported on #12843.

Are you opening Invoices from the relate of a sale? if so, It’s the same.

True. I can post it when opening it from accounting > invoices > customer invoices directly.

Thanks !