[IMP] Message post when the invoice is paid.

bzr revid: psa@tinyerp.com-20130215115921-vbeaw8tnx3d65yll
This commit is contained in:
Paramjit Singh Sahota
2013-02-15 17:29:21 +05:30
parent f8e78b68c6
commit 070fd0a00d
+1 -1
View File
@@ -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 <b>Paid.</b>"), context=context)
self.message_post(cr, uid, ids, body=_("Invoice <b>Paid.</b>"), context=context)
return True
def has_stockable_product(self, cr, uid, ids, *args):