Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
3106 Vizualizări

Hi,

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?

 

 

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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.

Imagine profil
Abandonează
Autor

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.

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.