← Back to team overview

openerp-india team mailing list archive

[Bug 1123018] [NEW] Access rules on fields.related in osv.TransientModel

 

Public bug reported:

I don't know if it's a bug or not but:

If you add a fields.related (to a Model like stock.move)  in a transient
model (like stock.partial.picking.line) that will be displayed in a
wizard, all access rules on these fields are bypass by the uid
automatically changed to SUPERUSER (==1) in _fnct_read from fields.py.

It is a normal behavior ?

** 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/1123018

Title:
  Access rules on fields.related in osv.TransientModel

Status in OpenERP Server:
  New

Bug description:
  I don't know if it's a bug or not but:

  If you add a fields.related (to a Model like stock.move)  in a
  transient model (like stock.partial.picking.line) that will be
  displayed in a wizard, all access rules on these fields are bypass by
  the uid automatically changed to SUPERUSER (==1) in _fnct_read from
  fields.py.

  It is a normal behavior ?

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


Follow ups

References