← Back to team overview

openerp-india team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
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

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


Follow ups

References