Odoo Help

Welcome!

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

0

Supplier invoice refund error

By
Sudheendra Walvekar
on 3/20/14, 2:13 AM 2,180 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.

Regards

0

Nehal

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

Hi,

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

Nehal
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)

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

Nehal
on 3/20/14, 9:40 AM

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

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