跳至内容
菜单
此问题已终结
1 回复
4750 查看

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
3189
0
3月 15
2794
1
3月 24
7385
2
1月 24
1333
4
12月 23
21834