Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Intelligence artificielle
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Supermarché
    • Quincaillerie
    • Magasin de jouets
    Restauration & Hôtellerie
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brasserie
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Commerce
    • Homme à tout faire
    • Matériel informatique & support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Parcourir toutes les industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenir partenaire
    • Services pour partenaires
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

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

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
developmentconfigurationsales
2 Réponses
1475 Vues
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
Ignorer
Chris TRINGHAM

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

Daniel Banica
Auteur
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
Meilleure réponse

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
Ignorer
Avatar
Daniel Banica
Auteur Meilleure réponse
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
Ignorer
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
How to Print Shipping Labels Automatically Without Using IoT? Résolu
development configuration sales
Avatar
Avatar
Avatar
2
mars 26
1077
{{FloW~Latam!!𝄞}¿Cómo hablo con un agente desde Latam? 
development configuration
Avatar
0
mai 26
1
『Avianca ☯Colombia☯Contacto』¿Cómo llamar a Avianca por celular en Colombia?
development configuration
Avatar
0
avr. 26
3
See What Happens Behind Successful Businesses – Odoo Live
development configuration
Avatar
0
avr. 26
2
Atención al cliente:¿Cómo hablo con una persona en vivo en Iberia?
development configuration
Avatar
0
avr. 26
132
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenir partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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