Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
alexmigf opened this issue Apr 2, 2024 · 2 comments
Open
Assignees
Labels

Comments

@alexmigf
Copy link
Member

alexmigf commented Apr 2, 2024

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
Copy link
Contributor

@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
Copy link
Member Author

alexmigf commented Apr 8, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants