[IMP] procurement: improved code.

bzr revid: tpa@tinyerp.com-20120507105629-rgt4n2w694tg7f04
This commit is contained in:
Turkesh Patel (Open ERP)
2012-05-07 16:26:29 +05:30
parent 6e7f4025b5
commit c853634ff9
+2 -2
View File
@@ -494,11 +494,11 @@ class procurement_order(osv.osv):
def running_send_note(self, cr, uid, ids, context=None):
for obj in self.browse(cr, uid, ids, context=context):
self.message_append_note(cr, uid, [obj.id], body=_("Procurement has been set to <b>running</b>"), context=context)
self.message_append_note(cr, uid, [obj.id], body=_("Procurement has been set to <b>running</b>."), context=context)
def ready_send_note(self, cr, uid, ids, context=None):
for obj in self.browse(cr, uid, ids, context=context):
self.message_append_note(cr, uid, [obj.id], body=_("Procurement has been set to <b>ready</b>"), context=context)
self.message_append_note(cr, uid, [obj.id], body=_("Procurement has been set to <b>ready</b>."), context=context)
def cancel_send_note(self, cr, uid, ids, context=None):
for obj in self.browse(cr, uid, ids, context=context):