Invalid data on invoice
-
Hi,
Today I have discovered a strange behaviour using the following flow:
– create invoice
– remove invoice
– change data displayed on invoice e.g. company invoice
– generate invoice again
Newly generated invoice will contain data from previously generated and removed invoice.
The same happens for proforma invoices (and probably other types of documents available in the plugin).
To be honest – I am not sure if it is bug or a feature, but in my opinion if you remove invoice, then postmeta related to the invoice/proforma settings should be also removed. Currently it is not removed and is used while generating new documents.It can be very hard to spot usage of old data, especially if you change e.g. only some numbers in company VAT ID or company address.
- You must be logged in to reply to this topic.