c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #25624
[Bug 791895] [NEW] project_scrum user email address
Public bug reported:
I'm using v6.0.2
In project_scrum/project_scrum.py line 323 you have:
user_email = email_from or user.address_id.email or email_from
user.address_id.email is not the proper way to access the email address
of the user. There is a function for that:
user.user_email
please use that one.
Also, as you can see email_from is used twice in that line which is
wrong. Probably the best would be to change that line to:
user_email = email_from or user.user_email
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/791895
Title:
project_scrum user email address
Status in OpenERP Modules (addons):
New
Bug description:
I'm using v6.0.2
In project_scrum/project_scrum.py line 323 you have:
user_email = email_from or user.address_id.email or email_from
user.address_id.email is not the proper way to access the email
address of the user. There is a function for that:
user.user_email
please use that one.
Also, as you can see email_from is used twice in that line which is
wrong. Probably the best would be to change that line to:
user_email = email_from or user.user_email
Thanks
Follow ups
References