> Hello, > > For : > - def do_pending_send_note(self, cr, uid, ids, context=None): > - def do_open_send_note(self, cr, uid, ids, context=None): > - def do_cancel_send_note(self, cr, uid, ids, context=None): > - def do_close_send_note(self, cr, uid, ids, context=None): > - def do_draft_send_note(self, cr, uid, ids, context=None): > As self.message_append_note works on ids, you do not have to do a 'for' loop, > for example : > def do_pending_send_note(self, cr, uid, ids, context=None): > return self.message_append_note(cr, uid, ids, 'System Notification', 'Task > is now <b>pending</b>.', context=context) > > Like you did for 'create_send_note' actually.
> I have removed for loop. > Best regards, > > Thibault. -- https://code.launchpad.net/~openerp-dev/openobject-addons/trunk-social-project-task-bth/+merge/97837 Your team OpenERP R&D Team is subscribed to branch lp:~openerp-dev/openobject-addons/trunk-social-tde. _______________________________________________ Mailing list: https://launchpad.net/~openerp-dev-gtk Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-dev-gtk More help : https://help.launchpad.net/ListHelp

