← Back to team overview

openerp-india team mailing list archive

[Bug 997618] Re: project_mailgate_note when a user from project has no email the module is crashing

 

** Description changed:

  Traceback (most recent call last):
-   File "/home/azubi/workspace2/server/603/osv/osv.py", line 122, in wrapper
-     return f(self, dbname, *args, **kwargs)
-   File "/home/azubi/workspace2/server/603/osv/osv.py", line 176, in execute
-     res = self.execute_cr(cr, uid, obj, method, *args, **kw)
-   File "/home/azubi/workspace2/server/603/osv/osv.py", line 167, in execute_cr
-     return getattr(object, method)(cr, uid, *args, **kw)
-   File "/home/azubi/workspace2/server/603/addons/project_mailgate_note/wizard/crm_send_email.py", line 205, in default_get
-     user_mail_to += ', ' + user_obj._get_email_from(cr, uid, [member.id], context=context)[member.id]
+   File "/home/azubi/workspace2/server/603/osv/osv.py", line 122, in wrapper
+     return f(self, dbname, *args, **kwargs)
+   File "/home/azubi/workspace2/server/603/osv/osv.py", line 176, in execute
+     res = self.execute_cr(cr, uid, obj, method, *args, **kw)
+   File "/home/azubi/workspace2/server/603/osv/osv.py", line 167, in execute_cr
+     return getattr(object, method)(cr, uid, *args, **kw)
+   File "/home/azubi/workspace2/server/603/addons/project_mailgate_note/wizard/crm_send_email.py", line 205, in default_get
+     user_mail_to += ', ' + user_obj._get_email_from(cr, uid, [member.id], context=context)[member.id]
  TypeError: cannot concatenate 'str' and 'bool' objects
  
- This problem is coming up when in one of the users from Project has no
- email
+ This problem is coming up when in one of the users from Project has no email
+ and when un push the button send mail from project.task

** Description changed:

  Traceback (most recent call last):
    File "/home/azubi/workspace2/server/603/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/azubi/workspace2/server/603/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/azubi/workspace2/server/603/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/azubi/workspace2/server/603/addons/project_mailgate_note/wizard/crm_send_email.py", line 205, in default_get
      user_mail_to += ', ' + user_obj._get_email_from(cr, uid, [member.id], context=context)[member.id]
  TypeError: cannot concatenate 'str' and 'bool' objects
  
  This problem is coming up when in one of the users from Project has no email
- and when un push the button send mail from project.task
+ and when you push the button send mail from project.task

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/997618

Title:
  project_mailgate_note when a user from project has no email the module
  is crashing

Status in OpenERP Addons (modules):
  New

Bug description:
  Traceback (most recent call last):
    File "/home/azubi/workspace2/server/603/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/azubi/workspace2/server/603/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/azubi/workspace2/server/603/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/azubi/workspace2/server/603/addons/project_mailgate_note/wizard/crm_send_email.py", line 205, in default_get
      user_mail_to += ', ' + user_obj._get_email_from(cr, uid, [member.id], context=context)[member.id]
  TypeError: cannot concatenate 'str' and 'bool' objects

  This problem is coming up when in one of the users from Project has no email
  and when you push the button send mail from project.task

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/997618/+subscriptions


References