تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4921 أدوات العرض

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.


Using odoo9e.

الصورة الرمزية
إهمال
أفضل إجابة

Hello,


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...

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
أبريل 24
1665
3
يناير 21
7868
1
مارس 15
4308
2
يوليو 25
429
1
أغسطس 25
1304