[FIX]: Fix chatter display string problem
bzr revid: atp@tinyerp.com-20120608082919-nwq1oh8z7cjxs07m
This commit is contained in:
parent
5407eca204
commit
062ee8f300
|
@ -92,13 +92,13 @@ class purchase_requisition(osv.osv):
|
|||
|
||||
def in_progress_send_note(self, cr, uid, ids, context=None):
|
||||
for requisition in self.browse(cr, uid, ids, context=context):
|
||||
self.message_append_note(cr, uid, [requisition.id], body=_("Draft Requistion is <b>Sent to Suppliers</b>."), context=context)
|
||||
self.message_append_note(cr, uid, [requisition.id], body=_("Draft Requistion has been <b>sent to suppliers</b>."), context=context)
|
||||
|
||||
def reset_send_note(self, cr, uid, ids, context=None):
|
||||
self.message_append_note(cr, uid, ids, body=_("""Purchase Requisition <b>set to Draft</b>."""), context=context)
|
||||
self.message_append_note(cr, uid, ids, body=_("""Purchase Requisition hase been set to <b>draft</b>."""), context=context)
|
||||
|
||||
def done_to_send_note(self, cr, uid, ids, context=None):
|
||||
self.message_append_note(cr, uid, ids, body=_("Purchase Requisition has been <b>Done</b>."), context=context)
|
||||
self.message_append_note(cr, uid, ids, body=_("Purchase Requisition has been set to <b>done</b>."), context=context)
|
||||
|
||||
def draft_send_note(self, cr, uid, ids, context=None):
|
||||
return self.message_append_note(cr, uid, ids, body=_("Purchase Requisition has been set to <b>draft</b>."), context=context)
|
||||
|
|
Loading…
Reference in New Issue