Skip to content

Instantly share code, notes, and snippets.

@ovnicraft
Created July 12, 2012 02:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ovnicraft/3095240 to your computer and use it in GitHub Desktop.
Save ovnicraft/3095240 to your computer and use it in GitHub Desktop.
redefinicion de metodo
def send_mail(self, cr, uid, ids, filtered_uesrs=[], cc=[]):
lista_cc = []
for task self.browse(cr, uid, ids, context):
lista_cc = []
for user in task.user_ids:
lista_cc.append(user.user_mail)
super(Project_Task, self).send_mail(cr, uid, ids, filtered_users, cc+lista_cc)
return True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment