contract_update_last_date_invoiced
Allows contract managers to manually correct the last invoiced date on contract lines when invoices are removed or adjusted.
Key Features
- contract.line: Adds an object button that opens a modal to adjust last invoiced and next invoice dates with the line's current values prefilled.
- contract.update.last.date.invoiced: Provides a transient wizard that writes the chosen last invoiced and next invoice dates back to the associated contract line.
- security: Introduces a dedicated group that grants permission to use the invoice date update wizard.
- contract.line: Implements a helper method that safely updates both the last invoiced and next invoice dates on the contract line.
- contract.contract: Removes inline editing on recurring invoice lines so users rely on the dedicated update flow for date corrections.