Přejít na obsah
Odoo Menu
  • Přihlásit se
  • Vyzkoušejte zdarma
  • Aplikace
    Finance
    • Účetnictví
    • Fakturace
    • Výdaje
    • Spreadsheet (BI)
    • Dokumenty
    • Podpisy
    Prodej
    • CRM
    • Prodej
    • POS Obchod
    • POS Restaurace
    • Předplatné
    • Pronájem
    Webové stránky
    • Webové stránky
    • E-shop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Dodavatelský řetězec
    • Sklad
    • Výroba
    • PLM
    • Nákup
    • Údržba
    • Kvalita
    Lidské zdroje
    • Zaměstnanci
    • Nábor
    • Volno
    • Hodnocení zaměstnanců
    • Doporučení
    • Vozový park
    Marketing
    • Marketing sociálních sítí
    • Emailový marketing
    • SMS Marketing
    • Události
    • Marketingová automatizace
    • Dotazníky
    Služby
    • Projekt
    • Časové výkazy
    • Práce v terénu
    • Helpdesk
    • Plánování
    • Schůzky
    Produktivita
    • Diskuze
    • Umělá inteligence
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Aplikace třetích stran Odoo Studio Odoo cloudová platforma
  • Branže
    Maloobchod
    • Knihkupectví
    • Obchod s oblečením
    • Obchod s nábytkem
    • Potraviny
    • Obchod s hardwarem
    • Hračkářství
    Jídlo a pohostinství
    • Bar a Pub
    • Restaurace
    • Fast Food
    • Penzion
    • Distributor nápojů
    • Hotel
    Nemovitost
    • Realitní kancelář
    • Architektonická firma
    • Stavba
    • Správa nemovitostí
    • Zahradnictví
    • Asociace vlastníků nemovitosti
    Poradenství
    • Účetní firma
    • Odoo Partner
    • Marketingová agentura
    • Právník
    • Akvizice talentů
    • Audit a certifikace
    Výroba
    • Textil
    • Kov
    • Nábytek
    • Jídlo
    • Pivovar
    • Korporátní dárky
    Zdraví a fitness
    • Sportovní klub
    • Prodejna brýli
    • Fitness Centrum
    • Wellness praktikové
    • Lékárna
    • Kadeřnictví
    Transakce
    • Údržbář
    • Podpora IT & hardware
    • Systémy solární energie
    • Výrobce obuvi
    • Úklidové služby
    • Služby HVAC
    Ostatní
    • Nezisková organizace
    • Agentura pro životní prostředí
    • Pronájem billboardů
    • Fotografování
    • Leasing jízdních kol
    • Prodejce softwaru
    Procházet všechna odvětví
  • Komunita
    Edukační program
    • Tutoriály
    • Dokumentace
    • Certifikace
    • Vzdělávání
    • Blog
    • Podcast
    Podpora vzdělávání
    • Vzdělávací program
    • Scale Up! Hra na firmu
    • Navštivte Odoo
    Získat software
    • Stáhnout
    • Porovnejte edice
    • Verze
    Spolupráce
    • Github
    • Fórum
    • Události
    • Překlady
    • Stát se partnerem
    • Služby pro partnery
    • Registrujte svou účetní firmu
    Získat služby
    • Najít partnera
    • Najít účetní
    • Setkejte se s poradcem
    • Implementační služby
    • Zákaznické reference
    • Podpora
    • Upgrady
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Dohodnout demo
  • Ceník
  • Pomoc
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
You need to be registered to interact with the community.
All Posts Lidé Odznaky
Štítky (View all)
odoo accounting v14 pos v15
O tomto fóru
Pomoc

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

Odebírat

Get notified when there's activity on this post

This question has been flagged
developmentconfigurationsales
2 Odpovědi
1486 Zobrazení
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
Zrušit
Chris TRINGHAM

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

Daniel Banica
Autor
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
Nejlepší odpověď

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
Zrušit
Avatar
Daniel Banica
Autor Nejlepší odpověď
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
Zrušit
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Přihlásit se
Related Posts Odpovědi Zobrazení Aktivita
How to Print Shipping Labels Automatically Without Using IoT? Vyřešeno
development configuration sales
Avatar
Avatar
Avatar
2
bře 26
1090
{{FloW~Latam!!𝄞}¿Cómo hablo con un agente desde Latam? 
development configuration
Avatar
0
kvě 26
1
『Avianca ☯Colombia☯Contacto』¿Cómo llamar a Avianca por celular en Colombia?
development configuration
Avatar
0
dub 26
3
See What Happens Behind Successful Businesses – Odoo Live
development configuration
Avatar
0
dub 26
2
Atención al cliente:¿Cómo hablo con una persona en vivo en Iberia?
development configuration
Avatar
0
dub 26
132
Komunita
  • Tutoriály
  • Dokumentace
  • Fórum
Open Source
  • Stáhnout
  • Github
  • Runbot
  • Překlady
Služby
  • Odoo.sh hostování
  • Podpora
  • Upgrade
  • Nestandardní vývoj
  • Edukační program
  • Najít účetní
  • Najít partnera
  • Stát se partnerem
O nás
  • Naše společnost
  • Podklady značky
  • Kontakujte nás
  • Práce
  • Události
  • Podcast
  • Blog
  • Zákazníci
  • Právní dokumenty • Soukromí
  • Zabezpečení
الْعَرَبيّة 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 je balíček open-source aplikací, které pokrývají všechny potřeby vaší společnosti: CRM, e-shop, účetnictví, sklady, kasy, projektové řízení a další.

Unikátní nabídka od Odoo poskytuje velmi jednoduché uživatelské rozhraní a vše je integrované na jednom místě.

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