← Back to team overview

openerp-india team mailing list archive

[Bug 1106367] Re: Access Denied by ACLs without reading the field

 

I use point_of_sale module in self service context. I have to allow
point_of_sale.group_pos_user access to standard_price.

At this time, I have to override this fiels definition with a custom
module. See attached patch that could be useful waiting a mainstream
solution.

** Attachment added: "product.py"
   https://bugs.launchpad.net/openobject-server/+bug/1106367/+attachment/3514381/+files/product.py

-- 
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/1106367

Title:
   Access Denied by ACLs without reading the field

Status in OpenERP Server:
  Confirmed

Bug description:
  Hello,
  I created a new form view of module product.product, which has a restricted field, standard_price.
  I my new form I set only a field (name) but when I try to access it gives this error message:

  Access Denied by ACLs for operation: read, uid: 4, model:
  product.product, fields: standard_price

  This hasn't to happens, as I understand from
  http://doc.openerp.com/trunk/developers/server/04_security/?highlight=inherit
  #field-access-rights , or is it my fault?

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


References