Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0014998Openbravo ERP07. Sales managementpublic2010-10-22 17:142011-07-20 18:13
tgarcia 
jonalegriaesarte 
normalmajoralways
newopen 
30Professional Appliance
3.0RC2 
 
Core
No
0014998: Invoices should have doc number assigned when they are completed, not when they are saved for the 1st time
There should be an option that allows an Invoice's "Document Number" to be assigned based on the document type sequence only when the invoice is completed, and not when the document is saved.
These documents are important, and should be easily accounted for. If they are meant to be sequential, it doesn't make sense that an user can simply create a invoice draft, save it, and then delete it, thus skipping numbers in that sequence.
Also, the sequence should reflect the invoice completion date, ie, the date the invoice was officially created (completed). Before completion, an invoice should just be an internal draft, and thus shouldn't share the same numbering sequence as the official documents
This restrictions must be met by law in Portugal, and probably in other countries, but I believe that they make sense in many other scenarios, and should make it easier for every company to distinguish drafts from complete, final invoices.
---
On save, before completion, use an alternate, temporary and officially irrelevant sequence as document number in invoices. The document sequence number associated with the document type should only be used when the invoice is completed
No tags attached.
Issue History
2010-10-22 17:14tgarciaNew Issue
2010-10-22 17:14tgarciaAssigned To => adrianromero
2010-10-22 17:47vfaroqueIssue Monitored: vfaroque
2011-06-03 10:58dalsasuaAssigned Toadrianromero => dalsasua
2011-07-20 18:13dalsasuaAssigned Todalsasua => jonalegriaesarte

There are no notes attached to this issue.