Multi-company Stock by Location

Bug #805712 reported by Kevin McMenamin

This bug report was converted into a question: question #163785: Multi-company Stock by Location.

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Invalid
Undecided
Unassigned

Bug Description

Not sure if this is a bug or a feature!

I have a multi-company situation with 12 companies and I want users to be able to see other companies stock. In user set up I get each user access to the other peer companies but not the parent company. However, in stock by location they can only see their own company. A user that has access to the parent company as well does see all companies.

I would have expected if my security allowed access to peer companies the system would display. I do have a workaround (give everyone access to a parent) but something to be fixed.

Revision history for this message
Amit Parik (amit-parik) wrote :

Hello Kevin,

I have checked your issue and this is not a bug it's feature for multi-company environment.
In version 6 we have create a record rule of multi-company for most important objects like account.account, account.bank.statement, account.payment,product.template , stock.stock as well as stock.location and many important objects.

The record rule is like this : ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]

So it means that the parent company 's user can see the all the records of the child company as well as the his company (main company) and the child company's user can see only his company 's record and does not see the parent company's record.

So this is not a bug and this is the system behavior.

Hope this will help for you.

Thanks

Changed in openobject-addons:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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