跳至内容
菜单
此问题已终结
2 回复
1945 查看

I am trying to better understand why the PDF is not regenerating when a modification is made.  


  • We have a user who has an invoice report.  The total cost is $500 and is in the PDF report.  
  • The user had paid their invoice.
  • The preview shows the total as $0.00 as expected due to the "In Payment" ribbon being present in the record.
  • The PDF, however, continues to show the $500 as the total.

The Expected Outcome:

 The Total in the PDF report should reflect $0.00.

The Actual Outcome:

 The Total in the PDF report was not changed.  It reads $500.00


Can you provide the reason(s) and possibly the resolution for this?


形象
丢弃
编写者

I had gone through this step, however, the issue had persisted on a few invoices. I don't think it has happened on all of them, but there were at least a couple invoices that resulted in this.

Hi Phil: I have updated my main reply with a screenshot of the email template setting screen for your reference.

编写者

Paresh, thank you for sending a screenshot. I did find the Email Template for Invoice: Sending, however, my settings doesn't have the attribute, "Optional report to print and attach."

最佳答案

Hi Phil: Odoo has 2 reports - "Invoices" and "Invoices without payments". The first one prints the invoice amount, payment amount and net due amount. The second report prints only the invoice amount without the payment and net due amount details. Check whether the "Invoices without payments" report is getting used.


UPDATE:

Screenshot of setting on Email Template


形象
丢弃
编写者

How would I check this?

When you open the invoice record in Odoo, there are 2 options in the "Print" action. Try running both of them and compare their output with what you are getting. BTW, forgot to ask earlier how you are generating the invoice.

编写者

When I click on "Send & Print", I see that the invoice is attached. Not sure if that is the reason, but I don't see the two options to print. The ribbon indicates the invoice is "In Payment". This is in the Accounting > Journal Report.

a. Activate Developer mode (Settings > General Settings > Activate developer mode)
b. Open the Email Template used for sending Invoices by going to Settings > Technical > Email > Email Templates. For example, the default email template is "Invoice: Sending". Open the Email template and check the setting of the "Optional report to print and attach" field in the Settings tab. Check which version of the report is configured.

最佳答案

Hi,

Activate the developer mode and navigate to Reports menu under settings -> technical and open your report record and untick the option "Reload from attachment" and print the report again and see.


Thanks

形象
丢弃
相关帖文 回复 查看 活动
0
4月 19
3051
1
3月 17
2869
2
1月 22
2314
0
1月 22
18
1
1月 22
2487