Odoo Help


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.


csv import of customer refunds appears in customer invoices.

on 10/13/14, 4:14 AM 673 views


I'd like to import customer refunds in openerp 7 using the csv file. In the column type, I have "Customer Refund", but my lines appear in customer invoices.

Did anyone have this problem?



On 10/13/14, 9:53 AM

I found this bug https://bugs.launchpad.net/openobject-addons/+bug/1086424

The field type is readonly, I edited invoice.py to make it writable and now it's working well.


Ludo - Neobis

--Ludo - Neobis--
| 2 2 5
Hoogvliet, Netherlands
--Ludo - Neobis--


Ludo - Neobis
On 10/13/14, 4:41 AM

Do you mean that the invoice lines appear on different invoices, or do you mean to say that the invoices themselves are shown in the regular invoice list?

If its the first statement, check that the lines have the right ID for the invoice assigned. 

In case of the second, make sure that all the appropriate records have "our_refund" as value for the type of the invoice.

Thanks for your answer. It's the second issue you mentioned that I'm dealing with. But changing the column type value doesn't change anything, the refunds still appear in customer invoices.

on 10/13/14, 5:48 AM

I can confirm that behaviour now. Working on OpenERP 7 and in my case I found 2 refunds in the list as well. As long as your invoices are booked on the right journal, it should not be a problem internally. If you really want to get the invoices out of the list, perhaps you could add a domain to the view. Edit the XML for the view and add the domain "type","=","out_invoice". That should do the trick.

Ludo - Neobis
on 10/13/14, 5:51 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)


Asked: 10/13/14, 4:14 AM
Seen: 673 times
Last updated: 3/16/15, 8:10 AM