← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 692667] Re: [6.0] gracefull handling of missing permissions

 

sorry - it is a o2m

see attached module
if the user / group has no read access to res.partner.id_number - the form does not open

class res_partner(osv.osv):
      _inherit = "res.partner"
      _columns = {
          'id_numbers': fields.one2many('res.partner.id_number','partner_id','Identification Numbers'),
      }
res_partner()

** Attachment added: "chricar_partner_id_number.zip"
   https://bugs.launchpad.net/openobject-client/+bug/692667/+attachment/1771927/+files/chricar_partner_id_number.zip

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

Title:
  [6.0] gracefull handling of missing permissions

Status in OpenObject GTK Client:
  Invalid

Bug description:
  currently a missing permission prohibits opening a form

I am wondering if the rule shouldn't follow the menu's access method - "do not show it if access rights are missing"

just display "missing permissions" (or nothing) instead of the field but open the form.

it seems to me that permissions must be handled exlusively using the groups attribute.





References