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

Here's a screencast.

I've purchase orders that even though shipment has been received and invoices received and payed the PO's aren't being marked as done.

Am I missing something, please?

形象
丢弃

I've just exoeruence this in Odoo v8 SaaS, for which I could not find an available community module to reopen or cancel the purchase orders. Going back to launchpad from well over a year ago, this particular PO problem looks like a longtime bug that has yet to be resolved.

最佳答案

Is this this bug:

https://bugs.launchpad.net/openobject-addons/+bug/1097633

形象
丢弃
编写者

Probably. Thank you, Ray.

最佳答案

I dont know is it best solution but for me helped. I changed one line on purshase.py

if purchase.invoiced_rate == 100.00:    to     if purchase.invoiced_rate > 0:

    def _invoiced(self, cursor, user, ids, name, arg, context=None):
        res = {}
        for purchase in self.browse(cursor, user, ids, context=context):
            invoiced = False
            if purchase.invoiced_rate > 0:
                invoiced = True
            res[purchase.id] = invoiced
        return res

形象
丢弃
相关帖文 回复 查看 活动
2
5月 25
2206
3
12月 24
6326
1
7月 24
3077
1
6月 24
2148
2
6月 24
3028