Odoo Help


PO not getting to 'done' state

Shahar Or
on 4/20/13, 4:17 AM 2,858 views

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.

Ian Pritchard
on 8/12/14, 6:39 PM
Ray Carnes
On 4/20/13, 2:37 PM

Probably. Thank you, Ray.

Shahar Or
on 4/21/13, 10:41 AM
On 7/15/14, 2:08 AM

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

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

3 follower(s)


Asked: 4/20/13, 4:17 AM
Seen: 2858 times
Last updated: 3/16/15, 8:10 AM