I noticed today, that issued invoices are less static than I was expecting. I’m not really into accounting but it’s kind of strange to me. Shouldn’t changes to issued invoices be prevented? Is an invoice not a legal document?
Currently invoices are rather dynamic, e.g. I can easily change the amounts by adjusting the fee setup. Is this intentional?
I like flexibility as long as the invoice in pending but once it is issued, shouldn’t the content be freezed?
Currently, almost all content of the invoice remains changeable, name of invoicee, form group, status, schedule name and even as mentioned above the amounts.
Personally I think, that an issued invoice should be static without exception.
Yes, the aim of the system is to make the invoices static for all the reasons you mention. The behaviour you are seeing is not what we designed, and not what we are seeing here: once an invoice is issued, it is disconnected from the fee used to create it, and so changing the fee has no impact on the invoice. Can you test again and make sure you are not seeing this behaviour?
I would advise upgrading to v13, to see if this resolves the issue. If you don’t want to upgrade you could always set up a testing install and try it out there. If that does not work, then let us know and we can dig in deeper on our end.
Thanks for your patience and clear instructions. In the end I was able to recreate the bug (and you were correct, it was a bug!), and I believe it has now been fixed in the v14 dev branch. If you take the changes highlighted in the commit below, and replicate to your v13 code, you should find it works as we discussed above: