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

Feature Request: Document states (open, closed), assigning document IDs and immutability #170

Open
noseshimself opened this issue Jul 31, 2022 · 1 comment

Comments

@noseshimself
Copy link

(low priority; this will need a complete internal redesign to get the document into the database)

Currently documents are essigned their document ID upon creation and due to legal requirements become permanent, indestructible and should be (in the case of invoices, letters...) immutable.

This is not fitting everybody's workflow. It would be easier if documents could be modified in any way (including deleting them) until they are assigned a final/official document ID and up to this point be considered some kind of template. Only after explicitly locking the document the document should become a valid document and if it still needs changes there should be a function to turn the locked document into a correct reversal invoice ("Stornorechnung") {yes, this will need a different document template because it requires explicitly mentioning the cancelled document by ID).

@dragotin
Copy link
Owner

dragotin commented Aug 2, 2022

Yes, currently the document ID is assigned on the first save. In cases where the date is used in the doc identifier template that might even lead to wrong ids.
This needs to change long term.

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

No branches or pull requests

2 participants