← Back to team overview

openerp-india team mailing list archive

[Bug 1073087] Re: multi company Access Denied Document type: Partner, Operation: read

 

Rifakat, I tested your patch on our version 7.0 (7.0-20130122-001415)
and it fixes the issues I had with Access Denied when using the search
bar. Can also just remove "if args:" two lines before your addition
which will do the same thing and ensures 'ids' only contains partners
the company can access.

The patch doesn't address the original issue with multi-companies and
creating partners, but definitely fixed my searching problem. Thanks :)

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

Title:
  multi company Access Denied Document type: Partner, Operation: read

Status in OpenERP Addons (modules):
  Confirmed
Status in OpenERP Addons 7.0 series:
  New

Bug description:
  Multi company, Access Denied Document type: Partner, Operation: read

  Steps to produce.
  ------------------------

  login with admin

  install account,  sales, hr expense.

  create two company [companyA] and [companyB].

  create [usera for comapanya] with all managerial rights and [userb for companyb] hr officer right.
  Here both users's Allowed Companies =  companyA, companyB.

  login via userb and create new employee empb.

  login via usera and try to create new [customer invoice]/SO for
  employee empb. Getting access error, even usera is manager?

  Access Denied
  The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
  (Document type: Partner, Operation: read)

  It should not happen here, "OpenERP have somethings wrong
  configuration with access rights."

  Thanks.
  Kettor

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


References