[trunk/7.0][addons] access denied when a subsidiary company's user tries to create a reordering rule

Bug #1210195 reported by Romain Deheele - Camptocamp
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Fix Released
Low
OpenERP Publisher's Warranty Team

Bug Description

Hello,

Steps to reproduce:

- connect to runbot.openerp.com
- set admin user with technical features & multi companies
- set configuration warehouse on "Manage multiple locations and warehouses"
- create one user related to Birmingham shop, with warehouse manager role.
- create one user related to Chicago shop, with warehouse manager role.

Connect with one of these 2 users,
Go to Warehouse / Configuration / Reordering rules
try to create a reordering rule : oups, an "access denied popup" explains :
"Access Denied
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: Warehouse, Operation: read)"

---------

It looks like OE giving directly one warehouse by default that some users can't read.

Romain

Tags: maintenance

Related branches

Revision history for this message
Romain Deheele - Camptocamp (romaindeheele) wrote :

Hello,

Perhaps it's not the cleanest fix, but it resolves the problem.

Romain

Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
status: New → Fix Committed
Revision history for this message
Mohammed Shekha(Open ERP) (msh-openerp) wrote :
Revision history for this message
Martin Trigaux (OpenERP) (mat-openerp) wrote :

Hello,

Ravi's fix was integrated into 7.0.

revno: 10007 [merge]
revision-id: <email address hidden>

Changed in openobject-addons:
status: Fix Committed → Fix Released
importance: Undecided → Low
no longer affects: ocb-addons/7.0
no longer affects: ocb-addons
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.