Przejdź do zawartości
Odoo Menu
  • Zaloguj się
  • Wypróbuj za darmo
  • Aplikacje
    Finanse
    • Księgowość
    • Fakturowanie
    • Wydatki
    • Arkusz kalkulacyjny (BI)
    • Dokumenty
    • Podpisy
    Sprzedaż
    • CRM
    • Sprzedaż
    • PoS Sklep
    • PoS Restauracja
    • Subskrypcje
    • Wypożyczalnia
    Strony Internetowe
    • Kreator Stron Internetowych
    • eCommerce
    • Blog
    • Forum
    • Czat na Żywo
    • eLearning
    Łańcuch dostaw
    • Magazyn
    • Produkcja
    • PLM
    • Zakupy
    • Konserwacja
    • Jakość
    Zasoby Ludzkie
    • Pracownicy
    • Rekrutacja
    • Urlopy
    • Ocena pracy
    • Polecenia Pracownicze
    • Flota
    Marketing
    • Marketing Społecznościowy
    • E-mail Marketing
    • SMS Marketing
    • Wydarzenia
    • Automatyzacja Marketingu
    • Ankiety
    Usługi
    • Projekt
    • Ewidencja czasu pracy
    • Usługi Terenowe
    • Helpdesk
    • Planowanie
    • Spotkania
    Produktywność
    • Dyskusje
    • Sztuczna inteligencja
    • IoT
    • VoIP
    • Wiedza
    • WhatsApp
    Aplikacje trzecich stron Studio Odoo Odoo Cloud Platform
  • Branże
    Sprzedaż detaliczna
    • Księgarnia
    • Sklep odzieżowy
    • Sklep meblowy
    • Sklep spożywczy
    • Sklep z narzędziami
    • Sklep z zabawkami
    Żywienie i hotelarstwo
    • Bar i Pub
    • Restauracja
    • Fast Food
    • Pensjonat
    • Dystrybutor napojów
    • Hotel
    Agencja nieruchomości
    • Agencja nieruchomości
    • Biuro architektoniczne
    • Budowa
    • Zarządzanie nieruchomościami
    • Ogrodnictwo
    • Stowarzyszenie właścicieli nieruchomości
    Doradztwo
    • Biuro księgowe
    • Partner Odoo
    • Agencja marketingowa
    • Kancelaria prawna
    • Agencja rekrutacyjna
    • Audyt i certyfikacja
    Produkcja
    • Tekstylia
    • Metal
    • Meble
    • Jedzenie
    • Browar
    • Prezenty firmowe
    Zdrowie & Fitness
    • Klub sportowy
    • Salon optyczny
    • Centrum fitness
    • Praktycy Wellness
    • Apteka
    • Salon fryzjerski
    Transakcje
    • Złota rączka
    • Wsparcie Sprzętu IT
    • Systemy energii słonecznej
    • Szewc
    • Firma sprzątająca
    • Usługi HVAC
    Inne
    • Organizacja non-profit
    • Agencja Środowiskowa
    • Wynajem billboardów
    • Fotografia
    • Leasing rowerów
    • Sprzedawca oprogramowania
    Przeglądaj wszystkie branże
  • Community
    Ucz się
    • Samouczki
    • Dokumentacja
    • Certyfikacje
    • Szkolenie
    • Blog
    • Podcast
    Pomóż w nauce innym
    • Program Edukacyjny
    • Scale Up! Gra biznesowa
    • Odwiedź Odoo
    Skorzystaj z oprogramowania
    • Pobierz
    • Porównaj edycje
    • Wydania
    Współpracuj
    • Github
    • Forum
    • Wydarzenia
    • Tłumaczenia
    • Zostań partnerem
    • Usługi dla partnerów
    • Zarejestruj swoją firmę rachunkową
    Skorzystaj z usług
    • Znajdź partnera
    • Znajdź księgowego
    • Spotkaj się z doradcą
    • Usługi wdrożenia
    • Opinie klientów
    • Wsparcie
    • Aktualizacje
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Zaplanuj demo
  • Cennik
  • Pomoc
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
Wszystkie posty Osoby Odznaki
Tagi (Zobacz wszystko)
odoo accounting v14 pos v15
O tym forum
Pomoc

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

Zaprenumeruj

Otrzymaj powiadomienie o aktywności w tym poście

To pytanie dostało ostrzeżenie
developmentconfigurationsales
2 Odpowiedzi
1478 Widoki
Awatar
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
Awatar
Odrzuć
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!

Awatar
CandidRoot Solutions
Najlepsza odpowiedź

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
Awatar
Odrzuć
Awatar
Daniel Banica
Autor Najlepsza odpowiedź
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
Awatar
Odrzuć
Podoba Ci się ta dyskusja? Dołącz do niej!

Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!

Zarejestruj się
Powiązane posty Odpowiedzi Widoki Czynność
How to Print Shipping Labels Automatically Without Using IoT? Rozwiązane
development configuration sales
Awatar
Awatar
Awatar
2
mar 26
1081
{{FloW~Latam!!𝄞}¿Cómo hablo con un agente desde Latam? 
development configuration
Awatar
0
maj 26
1
『Avianca ☯Colombia☯Contacto』¿Cómo llamar a Avianca por celular en Colombia?
development configuration
Awatar
0
kwi 26
3
See What Happens Behind Successful Businesses – Odoo Live
development configuration
Awatar
0
kwi 26
2
Atención al cliente:¿Cómo hablo con una persona en vivo en Iberia?
development configuration
Awatar
0
kwi 26
132
Społeczność
  • Samouczki
  • Dokumentacja
  • Forum
Open Source
  • Pobierz
  • Github
  • Runbot
  • Tłumaczenia
Usługi
  • Hosting Odoo.sh
  • Wsparcie
  • Aktualizacja
  • Indywidualne rozwiązania
  • Edukacja
  • Znajdź księgowego
  • Znajdź partnera
  • Zostań partnerem
O nas
  • Nasza firma
  • Zasoby marki
  • Skontaktuj się z nami
  • Oferty pracy
  • Wydarzenia
  • Podcast
  • Blog
  • Klienci
  • Informacje prawne • Prywatność
  • Bezpieczeństwo Odoo
الْعَرَبيّة 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 to pakiet aplikacji biznesowych typu open source, które zaspokoją wszystkie potrzeby Twojej firmy: CRM, eCommerce, księgowość, inwentaryzacja, punkt sprzedaży, zarządzanie projektami itp.

Unikalną wartością Odoo jest to, że jest jednocześnie bardzo łatwe w użyciu i w pełni zintegrowane.

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