c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #16659
[Bug 720935] [NEW] [6.0] base_contact install breaks function field res_user.user_email
Public bug reported:
this always returns the email of the last entered/updated user because
of _email_set
def _email_get(self, cr, uid, ids, name, arg, context=None):
# perform this as superuser because the current user is allowed to read users, and that includes
# the email, even without any direct read access on the res_partner_address object.
return dict([(user.id, user.address_id.email) for user in self.browse(cr, 1, ids)]) # no context to avoid potential security issues as superuser
one one hand this module covers basic needs but breaks essential
functions of OpenERP
** Affects: openobject-addons
Importance: Undecided
Status: New
--
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/720935
Title:
[6.0] base_contact install breaks function field res_user.user_email
Status in OpenERP Modules (addons):
New
Bug description:
this always returns the email of the last entered/updated user
because of _email_set
def _email_get(self, cr, uid, ids, name, arg, context=None):
# perform this as superuser because the current user is allowed to read users, and that includes
# the email, even without any direct read access on the res_partner_address object.
return dict([(user.id, user.address_id.email) for user in self.browse(cr, 1, ids)]) # no context to avoid potential security issues as superuser
one one hand this module covers basic needs but breaks essential
functions of OpenERP
Follow ups
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: Olivier Dony (OpenERP), 2011-09-12
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: qdp (OpenERP), 2011-09-08
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: qdp (OpenERP), 2011-09-08
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: John Bradshaw, 2011-08-22
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: Ferdinand @ Camptocamp, 2011-04-28
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: Ferdinand @ Camptocamp, 2011-02-22
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: Ferdinand @ Camptocamp, 2011-02-22
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: Azazahmed Saiyed (OpenERP), 2011-02-22
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: Ferdinand @ Camptocamp, 2011-02-22
-
[Bug 720935] Re: [6.0] base_contact install breaks function field res_user.user_email
From: Azazahmed Saiyed (OpenERP), 2011-02-22
-
[Bug 720935] [NEW] [6.0] base_contact install breaks function field res_user.user_email
From: Ferdinand @ Camptocamp, 2011-02-17
References