Odoo Help


Supplier invoice refund error

Sudheendra Walvekar
on 3/20/14, 2:13 AM 2,854 views

Dear All,

I trying for a refund of the supplier invoice which is in open state.This invoice is validated and the invoice total amount matches with the amount I entered in the Verification total field.

I clicked on 'Ask Refund' button and I get refund invoice window. I have selected the refund method as ' Cancel: create refund and reconcile'. After entering the Reason field, I clicked the button 'Create Refund'. But I get the message :

'Bad Total! Please verify the price of the invoice! The encoded total does not match the computed total.

I would appreciate any help in solving the issue.





| 5 2 8
Ahmadabad, India
On 3/20/14, 2:29 AM


Verification Total of the invoice and Total should be same while validating the Invoice. Check your Total of the invoice and add the same amount in Verification Total.

The Validation in Invoice is working properly as the Verification total matches with Invoice Total. The issue occurs during refund process as mentioned in my posting. Please inform if you have a solution.

Prime Minds Consultancy Services, Sudheendra Walvekar
on 3/20/14, 5:22 AM

For Refund invoice also, there is verification total which should match with Total.Refer the link: http://awesomescreenshot.com/0f42iqcsee

on 3/20/14, 5:30 AM

Thank you very much for the quick response and sharing the screenshot. Looks like you have selected the refund method as draft refund. As you would note from my posting, the issue is seen when you select the refund method as ' Cancel: create refund and reconcile' and hit the create refund button. I would appreciate your response.

Prime Minds Consultancy Services, Sudheendra Walvekar
on 3/20/14, 7:19 AM

I have done the same after Ask Refund -> refund method as ' Cancel: create refund and reconcile' -> add reason -> Create Refund, but din't face any issue. When you click on "Create Refund" , it will create Refund Invoice with the same verification total of the invoice and refund invoice. There may be possible Verification Total of invoice does not match the Total and that is why you encountered the issue. You can check the method "compute_refund" of account/wizard/account_invoice_refund.py. (line:160)

on 3/20/14, 8:25 AM

Thank you again for your response. As you would see Verification Total and the Total of invoices match as shown in the screenshot in the link: http://awesomescreenshot.com/0512is662d. I have verified the method 'compute_refund' but did not find any flaw. Any thing else you suggest after seeing the screenshot?

Prime Minds Consultancy Services, Sudheendra Walvekar
on 3/20/14, 9:24 AM

inv_obj.write(cr, uid, [refund.id], {'date_due': date, 'check_total': inv.check_total}) This line add Verification Total in Refund from the Invoice. You need to check technically why you are not getting the correct amount. You can "print inv.check_total" and check.

on 3/20/14, 9:40 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 3/20/14, 2:13 AM
Seen: 2854 times
Last updated: 3/16/15, 8:10 AM