[IMP] Added message post when the 'Products Received' in PO.

bzr revid: psa@tinyerp.com-20130213132450-jwq7nvast54vcg9m
This commit is contained in:
Paramjit Singh Sahota 2013-02-13 18:54:50 +05:30
parent c442dc824e
commit c7d5fbd912
1 changed files with 1 additions and 0 deletions

View File

@ -673,6 +673,7 @@ class purchase_order(osv.osv):
def picking_done(self, cr, uid, ids, context=None):
self.write(cr, uid, ids, {'shipped':1,'state':'approved'}, context=context)
self.message_post(cr, uid, ids, body=_("Products <b>Received.</b>"), context=context)
return True
def copy(self, cr, uid, id, default=None, context=None):