Yep, I understand the varchar type :-)
That's the problem, this field isn't linked to any object but it seems
to be the only place where a per-user email address can be stored.

Please see my original report under 805375, I think these 2 bugs are
related.  It shows that res_partner_address only has 1 email address
(the one we see for all users) but we have 7 users in res_users.

This happened before we installed base_contact, installing base_contact
didn't fix anything even after re-entering the email addresses.

J.


On Thu, 2011-09-08 at 10:26 +0000, qdp (OpenERP) wrote:
> only the kind of the field changed: it's still there but not related
> anymore to another object. Now it's simply a varchar field (a string, a
> text... i don't know how to explain it in non technical words ^^ ).
> 
> I simply suggest you to check on a last trunk and create a new LP bug if
> the behavior seems wrong to you.
> 
> Thanks,
> Quentin
>

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to 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 Addons (modules):
  Invalid

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

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

_______________________________________________
Mailing list: https://launchpad.net/~c2c-oerpscenario
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~c2c-oerpscenario
More help   : https://help.launchpad.net/ListHelp

Reply via email to