Skip to content

Forbid to change quantity of invoiced project

The invoiced amount of a work relies on the quantity of the invoice line not being changed.
This is because the quantity is the aggregation of many works, so the invoiced amount is computed back using the unit price of the invoice line but the quantity stored on the work (timesheet line or invoiced progress).

As this may be unclear to the user, we must enforce this constraint in order to keep project reporting accurate.

Merge request reports