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
    Supply Chain
    • 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
    • Discuss
    • Kecerdasan Buatan
    • IoT
    • VoIP
    • Pengetahuan
    • WhatsApp
    Aplikasi pihak ketiga Odoo Studio Platform Odoo Cloud
  • 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
    • Manajemen Properti
    • 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
    • Konsultasi
    • Layanan Implementasi
    • Referensi Pelanggan
    • Bantuan
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dapatkan demo
  • Harga
  • Bantuan
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

Restrict pricelist visibility per user in Odoo? (best practice?)

Langganan

Dapatkan notifikasi saat terdapat aktivitas pada post ini

Pertanyaan ini telah diberikan tanda
developmentconfigurationsales
2 Replies
1474 Tampilan
Avatar
Daniel Banica
Hi,

I have a use case where different sales users should only see specific
product pricelists, while others should have access to all pricelists.

Example:
- User A should only see Pricelist A
- User B should only see Pricelist B
- Some pricelists should be visible to everyone

I’m trying to decide what the cleanest approach is in Odoo:
- record rules on product.pricelist
- security groups
- or another recommended pattern

How are you handling this in real projects?

Thanks!

0
Avatar
Buang
Chris TRINGHAM

Wow, so you developed all of that in the last hour since asking the question?

Daniel Banica
Penulis
Yes, I developed it in a short time by following the specific requirements (step rules, allowed users, and groups). It’s not a full-blown app, but it’s enough to demonstrate how access can be controlled per user
Odoo consultant

It seems Daniel is promoting his module. Interestingly, the Odoo 16 version has already been downloaded 14 times. Good strategy!

Avatar
CandidRoot Solutions
Jawaban Terbai

Hello Daniel,

Hello,

This is a valid requirement, but Odoo does not provide this control out of the box.

In Odoo, pricelists are not user-restricted by default. All users with access to Sales can see all pricelists.

Recommended & clean approach (Real projects)
Use Security Groups + Record Rules (Best practice)

How it works:

  1. Create security groups:

    • Pricelist A Users

    • Pricelist B Users

    • All Pricelists Users

  2. Add a Many2many field on product.pricelist:

    • Example: allowed_group_ids

  3. Create record rules on product.pricelist:

    • Users can only see pricelists where:

      • allowed_group_ids contains one of their groups

      • OR pricelist is marked as “public”

This gives:

 User A → sees only Pricelist A

 User B → sees only Pricelist B

 Managers → see all

What is NOT recommended
  •  Relying only on pricelist assignment on customers

  •  UI hiding without record rules

  •  Per-user hacks (hard to maintain)

Platform limitations
  •  Not possible with Studio only

  •  Requires custom record rules

  •  Best done on Odoo.sh / On-Premise
If this helped, kindly upvote.

Best Regards,

CandidRoot Solutions Pvt. Ltd.
Mobile: (+91) 8849036209
Whatapp: (+91) 8849036209
Email: info@candidroot.com
Web: https://www.candidroot.com
3
Avatar
Buang
Avatar
Daniel Banica
Penulis Jawaban Terbai
Thanks for the suggestions!

Actually, I ended up developing a small Odoo 18 addon for this exact scenario.
It adds a Many2many field `allowed_users` on pricelists and uses record rules to restrict access.
Users in the "Own Pricelists" group only see pricelists assigned to them or public ones,
while users in "All Pricelists" can see everything.

If you're interested, you can check it out here:

https://apps.odoo.com/apps/modules/18.0/restrict_pricelist_users/

-1
Avatar
Buang
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
How to Print Shipping Labels Automatically Without Using IoT? Diselesaikan
development configuration sales
Avatar
Avatar
Avatar
2
Mar 26
1077
{{FloW~Latam!!𝄞}¿Cómo hablo con un agente desde Latam? 
development configuration
Avatar
0
Mei 26
1
『Avianca ☯Colombia☯Contacto』¿Cómo llamar a Avianca por celular en Colombia?
development configuration
Avatar
0
Apr 26
3
See What Happens Behind Successful Businesses – Odoo Live
development configuration
Avatar
0
Apr 26
2
Atención al cliente:¿Cómo hablo con una persona en vivo en Iberia?
development configuration
Avatar
0
Apr 26
132
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
  • Karir
  • 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 Svenska ภาษาไทย Türkçe українська Tiếng Việt

Odoo adalah software terintegrasi dengan 70+ aplikasi seperti CRM, Akuntansi, Inventaris, Sales, eCommerce, Marketing, POS; plus fitur lokal Indonesia!

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