1 (edited by advocaat.pollet 07/10/2022 02:20:58 pm)

Topic: Removed delivery in a batch cannot be voided after the invoice is made

Hi,

When I want to make a batch-invoice of deliveries, and before making the invoice, I remove a delivery-row with the provided 'remove'-link, that delivery cannot be voided any more : "This delivery cannot be voided because it was already invoiced."

Well, that 'removed' delivery isn't invoiced, but there seems to be a link with the invoice of the other deliveries that are invoiced.

Removing a delivery-row should also remove the link between the invoice and the 'removed' delivery.

Kind regards,

F.

Re: Removed delivery in a batch cannot be voided after the invoice is made

Thie has been fixed and committed to stable repo. Thanks @advocaat.pollet for reporting this.

A fixed file, /admin/db/voiding_db.inc can be downloaded here.

Joe