Odoo Help


csv import of customer refunds appears in customer invoices.

on 10/13/14, 4:14 AM 1,150 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 - 21South

--Ludo - 21South--
| 2 2 5
Zwijndrecht, Netherlands
--Ludo - 21South--


Ludo - 21South
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.

21south, Ludo - 21South
on 10/13/14, 5:51 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: 10/13/14, 4:14 AM
Seen: 1150 times
Last updated: 3/16/15, 8:10 AM