wpovernight / woocommerce-pdf-invoices-packing-slips

Create, print & automatically email PDF invoices & packing slips for WooCommerce orders.
https://wordpress.org/plugins/woocommerce-pdf-invoices-packing-slips/
Other
99 stars 46 forks source link

When an invoice is deleted, any associated receipts become inaccessible. #760

Open alexmigf opened 6 months ago

alexmigf commented 6 months ago

When an invoice is deleted, any associated receipts become inaccessible.

Screenshot from 2024-04-02 17-50-11

Screenshot from 2024-04-02 17-53-29

Screenshot from 2024-04-02 17-51-10

MohamadNateqi commented 6 months ago

@alexmigf I'm unable to replicate this issue. I tried it on the main branch of both plugins.

Could you please give me more information about your setup so I can replicate it?

alexmigf commented 6 months ago

First enable the "Require Invoice" In the Receipt document settings:

Screenshot from 2024-04-08 10-52-12

After that create an Order and generate both Invoice and Receipt.

Finally delete the Invoice:

Screenshot from 2024-04-08 10-51-17

You will see that the Receipt document disappears from the Document data metabox, but it still generated for the order:

Screenshot from 2024-04-08 10-55-04

But maybe this is an issue to be fixed on Pro?