← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 791903] [NEW] mail_gateway user email

 

Public bug reported:

I'm using v6.0.2

In mail_gateway/mail_gateway.py line 83 you have:

l.append((message.user_id and message.user_id.email) or '')

AFAIK user.email is not the proper way to access the email address of
the user. There is a function in res.users for that:

user_email

Make a grep and you'll see that in all other modules user_email is used
so please change it

Thanks

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


** Tags: 6.0.2

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/791903

Title:
  mail_gateway user email

Status in OpenERP Modules (addons):
  New

Bug description:
  I'm using v6.0.2

  In mail_gateway/mail_gateway.py line 83 you have:

  l.append((message.user_id and message.user_id.email) or '')

  AFAIK user.email is not the proper way to access the email address of
  the user. There is a function in res.users for that:

  user_email

  Make a grep and you'll see that in all other modules user_email is
  used so please change it

  Thanks


Follow ups

References