[IMP] improve message
bzr revid: kjo@tinyerp.com-20120530113802-jg8oq3j5whad1sci
This commit is contained in:
parent
2512442f59
commit
58b17b7b85
|
@ -362,8 +362,10 @@ class procurement_order(osv.osv):
|
|||
""" Changes procurement state to Running and writes message.
|
||||
@return: True
|
||||
"""
|
||||
message = _('from stock: products assigned.')
|
||||
self.write(cr, uid, ids, {'state': 'running',
|
||||
'message': _('from stock: products assigned.')})
|
||||
'message': message})
|
||||
self.procurement_message(cr, uid, ids, message, context=context)
|
||||
self.running_send_note(cr, uid, ids, context=None)
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue