İçereği Atla
Menü
Bu soru işaretlendi

I'm using Odoo 18 with a multi-company setup:

  • Main company (NBS COMPANY) has its own warehouse (WH №1​).
  • A branch company also has its own warehouse.
  • I created an internal user assigned only to the branch company (not the main company).

When the user tries to update On Hand Quantity in their branch warehouse, they get this error:

Uh-oh! Looks like you have stumbled upon some top-secret records.

Sorry, User (id=2) doesn't have 'read' access to:
- Inventory Locations, WH №1/Stock (stock.location: 8, company=NBS COMPANY)

Blame the following rules:
- Location multi-company

If you really, really need access, perhaps you can win over your friendly administrator with a batch of freshly baked cookies. This seems to be a multi-company issue, you might be able to access the record by switching to the company: NBS COMPANY."

This seems to be related to Odoo's multi-company access rules, but I don't understand why it's referencing the main company's warehouse when the user is working in the branch.

The error disappears if I assign the user access to both companies, but I want to avoid giving them access to the main company.

How can I:

  • Restrict the user to the branch only,
  • But still allow them to update stock in their own warehouse,
  • Without access to the main company's data?

Thanks!

Avatar
Vazgeç

This behavior can not be reproduced in https://demo.odoo.com given this limited information. You will need to investigate your Warehouse, Location and Operation Type configuration, specifically about the Company assigned to each and whether the related records are assigned to the same Company.

İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Mar 15
3428
1
Haz 20
3992
1
Ağu 16
10414
0
Mar 15
4637
2
Mar 15
9394