Thanks for looking into this. I know we have different ideas about feature and bugs, but this one is really a bug as it returns wrong data and does not allow adding new users with correct email address - hence breaking many apps esepcially crm,hr,calendar, mailgate etc...
find . -follow -name "*py" |xargs grep user_email -- 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): Confirmed 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 _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : [email protected] Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp

