Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1938 Vistas

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?


Avatar
Descartar
Autor

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.

Autor

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

Mejor respuesta

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


Avatar
Descartar
Autor

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.

Autor

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.

Mejor respuesta

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

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 19
3046
1
mar 17
2862
2
ene 22
2310
0
ene 22
18
1
ene 22
2481