Closed barredterra closed 8 months ago
@barredterra Looks good.
An additional case comes to mind. Maybe we can allow deletion of amended documents (doc.amended_from
) ? As it's numbering depends upon the cancelled original transaction and does not affect the overall numbering. Just a suggestion
@marination good idea, but I won't implement it for the time being. Deleting older, amended documents should be fairly uncommon – I can't imagine a use case right now.
Allow deletion of the most recent sales transaction only. This ensures consecutive numbering of transactions. Applies to Quotation, Sales Order, Sales Invoice.