From 070fd0a00d2a960606aeb4ce2072695bc7c26173 Mon Sep 17 00:00:00 2001 From: Paramjit Singh Sahota Date: Fri, 15 Feb 2013 17:29:21 +0530 Subject: [PATCH] [IMP] Message post when the invoice is paid. bzr revid: psa@tinyerp.com-20130215115921-vbeaw8tnx3d65yll --- addons/purchase/purchase.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/purchase/purchase.py b/addons/purchase/purchase.py index ec4fc5c9dcf..d63048be1fd 100644 --- a/addons/purchase/purchase.py +++ b/addons/purchase/purchase.py @@ -557,7 +557,7 @@ class purchase_order(osv.osv): def invoice_done(self, cr, uid, ids, context=None): self.write(cr, uid, ids, {'state':'approved'}, context=context) - # self.message_post(cr, uid, ids, body=_("Invoice Paid."), context=context) + self.message_post(cr, uid, ids, body=_("Invoice Paid."), context=context) return True def has_stockable_product(self, cr, uid, ids, *args):