diff options
| author | Saurang Suthar <ssu@tinyerp.com> | 2012-11-06 12:03:32 +0530 |
|---|---|---|
| committer | Saurang Suthar <ssu@tinyerp.com> | 2012-11-06 12:03:32 +0530 |
| commit | cd4f4e13b00eba764ad080cbe31c0879a76663e5 (patch) | |
| tree | 3bfb48a4002e202590e6b3b5c9656d51a9963f8f | |
| parent | 6db4620bcebc15d5880b3760e37581353f48f8b4 (diff) | |
[IMP]idea:improved messages displayed by OpenChatter for idea creating, opening, accepting and refusing.
bzr revid: ssu@tinyerp.com-20121106063332-hfpctiwnhd9c7mmy
| -rw-r--r-- | addons/idea/idea.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/addons/idea/idea.py b/addons/idea/idea.py index a382948e15c..6ba34554a61 100644 --- a/addons/idea/idea.py +++ b/addons/idea/idea.py @@ -68,20 +68,20 @@ class idea_idea(osv.osv): def idea_cancel(self, cr, uid, ids, context=None): self.write(cr, uid, ids, { 'state': 'cancel' }) - self.message_post(cr, uid, ids, body=_('Idea canceled.'), context=context) + self.message_post(cr, uid, ids, body=_('Idea has been refused.'), context=context) return True def idea_open(self, cr, uid, ids, context={}): self.write(cr, uid, ids, {'state': 'open'}, context=context) - self.message_post(cr, uid, ids, body=_('Idea accepted.'), context=context) + self.message_post(cr, uid, ids, body=_('Idea has been opened.'), context=context) return True def idea_close(self, cr, uid, ids, context={}): self.write(cr, uid, ids, {'state': 'close'}, context=context) - self.message_post(cr, uid, ids, body=_('Idea closed.'), context=context) + self.message_post(cr, uid, ids, body=_('Idea has been accepted.'), context=context) return True def idea_draft(self, cr, uid, ids, context={}): self.write(cr, uid, ids, {'state': 'draft'}, context=context) - self.message_post(cr, uid, ids, body=_('Idea reset to draft.'), context=context) + self.message_post(cr, uid, ids, body=_('Idea has been created.'), context=context) return True |
