This question has been flagged
1 Reply
3452 Views

The standard import function in de Supplier invoices screen works, but the invoices end up with type = out_invoices, and show up in the customer invoices view. The type field is not importable itself. I guess it is a bug, or am I missing something?

Avatar
Discard
Best Answer

Yep its a bug on launchpad: https://bugs.launchpad.net/openobject-addons/+bug/1086424

There's a easy fix though, which has got supplier invoices importing on my end. Remove "readonly=True" from the 'type' column in /addons/account/account_invoice.py. This will allow the "Type" field to show up when you export, so that it imports them as Supplier invoices Otherwise it always defaults to customer invoices...

Avatar
Discard
Author

Thanks a lot, Dawn. I'll try your fix right away!