[IMP] Added message post for 'Invoice Paid.' when the invoice is paid in PO.

bzr revid: psa@tinyerp.com-20130214063655-15kjqgc67fwcqw9f
This commit is contained in:
Paramjit Singh Sahota
2013-02-14 12:06:55 +05:30
parent 0558ed61d9
commit 89d45ad9ec
+1
View File
@@ -557,6 +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)
return True
def has_stockable_product(self, cr, uid, ids, *args):