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

Delete invoice #1783

Closed
caygri opened this issue Jan 2, 2018 · 5 comments
Closed

Delete invoice #1783

caygri opened this issue Jan 2, 2018 · 5 comments
Labels

Comments

@caygri
Copy link

caygri commented Jan 2, 2018

I dont know if it's a bug but when I delete invoice the counter go on.
I reset in setting but ignore the reset counting.

@hillelcoren
Copy link
Member

You need to change the invoice number to a value you won't use and then delete it. The app skips used invoice numbers even if the invoice is deleted, otherwise if you try to restore the invoice there could be a conflict.

@caygri
Copy link
Author

caygri commented Jan 2, 2018

bad situation...in that way... 👎
it's very big limit...no one of my old cms for invoice doing this.

I see work when i delete from db there isn't problem.

Thank You Hillel

@hillelcoren
Copy link
Member

We take this approach so we're able enforce referential integrity, for example in the activity log.

We advise against deleting records from the database, it will very likely cause problems.

@caygri
Copy link
Author

caygri commented Jan 2, 2018

I know but when i need to delete i mean "delete" maybe it's best add like 2 way:

  1. delete permantly
  2. delete and restore it

@mgip
Copy link

mgip commented Sep 2, 2021

I know but when i need to delete i mean "delete" maybe it's best add like 2 way:

  1. delete permantly
  2. delete and restore it

Any solution for that? ... Thanks

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

No branches or pull requests

4 participants