Created
July 12, 2012 02:16
-
-
Save ovnicraft/3095240 to your computer and use it in GitHub Desktop.
redefinicion de metodo
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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