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?
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...
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
|Asked: 7/3/13, 6:41 AM|
|Seen: 1298 times|
|Last updated: 3/16/15, 8:10 AM|