No, I did not. I did now, but now get another error, which leads to the assumption that I do not execute the instructions as I should: I copied them line by line into trytond-console. Guess this is not how it is supposed to work.
Instructions say “using the following trytond-console script” - but they do not tell me how that’s done. Guess you know…
When you have copied the last line of the for-loop, you also have to press to add the empty line as shown and get the for-loop executed.
Also at the top-right corner of the code, when you hover with the mouse there, a icon pops up. Click it to copy the whole part and you can paste it directly into your console. You have only press for the last command to be executed.
Alright - thank you for being so clear and dummy-proof. That’s what I need.
The process started, but throws after a few seconds:
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. -
Nevertheless, I can start new tryton, some simple actions worked. Should I try to fix the error?
I will try to do my best to keep you all on board.
Ok, so nothing is stored. The code only fills some caches so it shouldn’t be a huge problem. But it shows a inconsistency in your database.
It has something to do with payment lines of an invoice. Probably after you posting or paying the invoice you made some changes. Wild guess something with your accounts?
When you know what the problem is, you probably have to make the changes directly into the database instead of through Tryton because Tryton will not allow you to make changes to the posted or payed invoice.