跳至內容
選單
此問題已被標幟
1 回覆
4765 瀏覽次數

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...

頭像
捨棄
作者

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

相關帖文 回覆 瀏覽次數 活動
2
10月 23
3222
0
3月 15
2831
1
3月 24
7402
2
1月 24
1371
4
12月 23
21868