[IMP] Added message post when the 'Products Received' in PO.
bzr revid: psa@tinyerp.com-20130213132450-jwq7nvast54vcg9m
This commit is contained in:
parent
c442dc824e
commit
c7d5fbd912
|
@ -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):
|
||||
|
|
Loading…
Reference in New Issue