Multi-company Stock by Location
This bug report was converted into a question: question #163785: Multi-company Stock by Location.
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.
Hello Kevin,
I have checked your issue and this is not a bug it's feature for multi-company environment. bank.statement, account. payment, product. template , stock.stock as well as stock.location and many important objects.
In version 6 we have create a record rule of multi-company for most important objects like account.account, account.
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