تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
3148 أدوات العرض

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?

 

 

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

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.

الصورة الرمزية
إهمال
أفضل إجابة

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.

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.