How do I set qweb reports to generate a new pdf each time? Currently it seems like it will use the last stored PDF.
IE if an invoice is open, then paid but the PDF will still say open.
by default, state is not display on the invoice so it is not a problem.
Be aware, that if we save the invoice as an attachment, it because once printed, you should be able (legacy) to print the identical invoice at anytime.... So if you have updated the customer address or the layout meanwhile, it will be no more possible.
To disable the 'PDF store' you can go in Settings -> Technical -> Report (in developer mode)
Next select your report (account.invoice in your case)
And you can change the condition when it is stored...
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 6/18/16, 4:12 PM|
|Seen: 393 times|
|Last updated: 6/19/16, 6:30 AM|