Skip ke Konten
Odoo Menu
  • Login
  • Uji coba gratis
  • Aplikasi
    Keuangan
    • Akuntansi
    • Faktur
    • Pengeluaran
    • Spreadsheet (BI)
    • Dokumen
    • Tanda Tangan
    Sales
    • CRM
    • Sales
    • POS Toko
    • POS Restoran
    • Langganan
    • Rental
    Website
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Rantai Pasokan
    • Inventaris
    • Manufaktur
    • PLM
    • Purchase
    • Maintenance
    • Kualitas
    Sumber Daya Manusia
    • Karyawan
    • Rekrutmen
    • Cuti
    • Appraisal
    • Referensi
    • Armada
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Acara
    • Otomatisasi Marketing
    • Survei
    Layanan
    • Project
    • Timesheet
    • Layanan Lapangan
    • Meja Bantuan
    • Planning
    • Appointment
    Produktivitas
    • Diskusi
    • Approval
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • Industri-Industri
    Retail
    • Toko Buku
    • Toko Baju
    • Toko Furnitur
    • Toko Kelontong
    • Toko Hardware
    • Toko Mainan
    Makanan & Hospitality
    • Bar dan Pub
    • Restoran
    • Fast Food
    • Rumah Tamu
    • Distributor Minuman
    • Hotel
    Real Estate
    • Agensi Real Estate
    • Firma Arsitektur
    • Konstruksi
    • Estate Management
    • Perkebunan
    • Asosiasi Pemilik Properti
    Konsultansi
    • Firma Akuntansi
    • Mitra Odoo
    • Agensi Marketing
    • Firma huku
    • Talent Acquisition
    • Audit & Sertifikasi
    Manufaktur
    • Tekstil
    • Logam
    • Perabotan
    • Makanan
    • Brewery
    • Corporate Gift
    Kesehatan & Fitness
    • Sports Club
    • Toko Kacamata
    • Fitness Center
    • Wellness Practitioners
    • Farmasi
    • Salon Rambut
    Perdagangan
    • Handyman
    • IT Hardware & Support
    • Sistem-Sistem Energi Surya
    • Pembuat Sepatu
    • Cleaning Service
    • Layanan HVAC
    Lainnya
    • Organisasi Nirlaba
    • Agen Lingkungan
    • Rental Billboard
    • Fotografi
    • Penyewaan Sepeda
    • Reseller Software
    Browse semua Industri
  • Komunitas
    Belajar
    • Tutorial-tutorial
    • Dokumentasi
    • Sertifikasi
    • Pelatihan
    • Blog
    • Podcast
    Empower Education
    • Program Edukasi
    • Game Bisnis 'Scale Up!'
    • Kunjungi Odoo
    Dapatkan Softwarenya
    • Download
    • Bandingkan Edisi
    • Daftar Rilis
    Kolaborasi
    • Github
    • Forum
    • Acara
    • Terjemahan
    • Menjadi Partner
    • Layanan untuk Partner
    • Daftarkan perusahaan Akuntansi Anda.
    Dapatkan Layanan
    • Temukan Mitra
    • Temukan Akuntan
    • Temui penasihat
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Akuntansi
  • Inventaris
  • PoS
  • Project
  • MRP
All apps
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Anda harus terdaftar untuk dapat berinteraksi di komunitas.
Semua Post Orang Lencana-Lencana
Label (Lihat semua)
odoo accounting v14 pos v15
Mengenai forum ini
Help

Odoo multi-company error: user cannot access stock location when updating On Hand Quantity

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
stockwarehouseinventorystock_locationMulti-company
1 Balas
914 Tampilan
Avatar
Mirodil Ortikov

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!

0
Avatar
Buang
Christoph Farnleitner

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.

Avatar
Cybrosys Techno Solutions Pvt.Ltd
Jawaban Terbai

Hi,


The error you’re facing is caused by Odoo’s multi-company access rules. In a multi-company setup, every warehouse location (stock, scrap, inventory adjustment, etc.) is linked to a specific company. The security rule “Location multi-company” prevents users from seeing or using locations that belong to companies they don’t have access to. When your branch user tries to update On Hand Quantity, Odoo internally creates stock moves between the warehouse and special virtual locations. If one of those virtual locations (such as “Inventory Adjustment” or “Scrap”) is tied to the main company, Odoo will block the operation because the branch user doesn’t have access rights to that company.


This explains why the system is referencing the main company’s warehouse (NBS COMPANY) even though the user is working in the branch. The process of adjusting inventory isn’t just about the branch warehouse; it also involves virtual locations, and if those are not set up per company, Odoo ends up pointing to the wrong one. That’s why the error disappears when you give the user access to both companies: they suddenly have permission to see the main company’s locations. But that also means they can see data you don’t want them to, which breaks the principle of separation between companies.


The correct solution is not to expand the user’s company access, but to fix the location ownership. Each company in Odoo should have its own complete set of stock locations: Stock, Input, Output, Inventory Adjustment, and Scrap. If your branch company’s warehouse is using adjustment or scrap locations that still belong to the main company, you need to duplicate those locations, assign them to the branch company, and update the warehouse and routes to use the branch-owned versions. That way, when branch users adjust stock, all moves stay within the scope of the branch company, and the security rules are respected.


Once you ensure that every warehouse and virtual location is properly assigned to the correct company, your branch users will be able to update On Hand Quantity freely in their own warehouse, without ever touching records from the main company. This keeps data isolated per company and removes the need to grant unnecessary access to NBS COMPANY.


Hope it helps

0
Avatar
Buang
Mirodil Ortikov
Penulis

Hello, thanks for your answer. I've checked locations and found out that each company has its own locations set I guess.
Location | Location Type | Company
----------------------------------------|------------------|-------------
Partners | View |
Partners/Customers | Customer Location|
Partners/Vendors | Vendor Location |
Physical Locations | View |
Virtual Locations | View |
Virtual Locations/Inter-company transit | Transit Location |
Virtual Locations/Inventory adjustment | Inventory Loss | NBS
Virtual Locations/Inventory adjustment | Inventory Loss | ARK
Virtual Locations/Production | Production | NBS
Virtual Locations/Production | Production | ARK
Virtual Locations/Scrap | Inventory Loss | NBS
Virtual Locations/Scrap | Inventory Loss | ARK
WH №1 | View | NBS
WH №1/Stock | Internal Location| NBS
WHARK | View | ARK
WHARK/Stock | Internal Location| ARK

NBS is main company and ARK is the branch of NBS

Menikmati diskusi? Jangan hanya membaca, ikuti!

Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!

Daftar
Post Terkait Replies Tampilan Aktivitas
Need to find product quantities in locations to create draft delivery order
stock warehouse stock_location
Avatar
0
Mar 15
3857
External data integration for stock & quantity on hand
stock warehouse integration inventory
Avatar
Avatar
1
Jun 20
4606
What are chaining types and chained locations in OpenERP warehouse management ?
stock warehouse inventory location
Avatar
Avatar
1
Agu 16
11119
How to calculate available inventory in OpenERP
stock warehouse inventory tracking
Avatar
0
Mar 15
5234
How to do a physical inventory in large warehouse?
stock warehouse inventory location
Avatar
Avatar
Avatar
2
Mar 15
10010
Komunitas
  • Tutorial-tutorial
  • Dokumentasi
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Terjemahan
Layanan
  • Odoo.sh Hosting
  • Bantuan
  • Peningkatan
  • Custom Development
  • Pendidikan
  • Temukan Akuntan
  • Temukan Mitra
  • Menjadi Partner
Tentang Kami
  • Perusahaan kami
  • Aset Merek
  • Hubungi kami
  • Tugas
  • Acara
  • Podcast
  • Blog
  • Pelanggan
  • Hukum • Privasi
  • Keamanan
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah rangkaian aplikasi bisnis open source yang mencakup semua kebutuhan perusahaan Anda: CRM, eCommerce, akuntansi, inventaris, point of sale, manajemen project, dan seterusnya.

Mudah digunakan dan terintegrasi penuh pada saat yang sama adalah value proposition unik Odoo.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now