← Back to team overview

openerp-india team mailing list archive

[Bug 1042871] [NEW] Fields relateds

 

Public bug reported:

I have related fields and field properties I have the problem in multi
environment companies, because in _fnct_read function that returns the
value field of my relationship, I take this property to the user's
company manager because at the time of the browse, and are going
directly uid 1, which is the uid of root.

The solution is to browse to the uid of the user that logged

line 920
Error:
obj.browse objlst = (cr, 1, ids, context = context)

solution:
obj.browse objlst = (cr, uid, ids, context = context)

If Permitting issues placed directly by the admin user was not a proper
solution, because you are not taking into account the property type
field

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

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1042871

Title:
  Fields relateds

Status in OpenERP Server:
  New

Bug description:
  I have related fields and field properties I have the problem in multi
  environment companies, because in _fnct_read function that returns the
  value field of my relationship, I take this property to the user's
  company manager because at the time of the browse, and are going
  directly uid 1, which is the uid of root.

  The solution is to browse to the uid of the user that logged

  line 920
  Error:
  obj.browse objlst = (cr, 1, ids, context = context)

  solution:
  obj.browse objlst = (cr, uid, ids, context = context)

  If Permitting issues placed directly by the admin user was not a
  proper solution, because you are not taking into account the property
  type field

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


Follow ups

References