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
    • Validations
    • 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
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • 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
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et 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
    Browse all 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
    • Devenez partenaire
    • Services for Partners
    • 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

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
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 users to see all projects

S'inscrire

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

Cette question a été signalée
configurationprojectv18
3 Réponses
183 Vues
Avatar
Pedro Lopez

I'm trying to configure project privacy so that users can only see the projects they've been invited to or they create, and i need that users can still create new projects, assign stages, and tasks.

Initially, I added the users to the administrators group, but they could see all projects; after i assigned them in the users group, but could not create projects.

0
Avatar
Ignorer
Sujata

Use " = " for single values: ('partner_id', '=', 3)
Use " in " with a list: ('partner_id', 'in', [3])

Avatar
Andrew Rose
Meilleure réponse

How to allow the regular project User group to create project:

For the below steps we are using Odoo 19 Enterprise with demo data Mitchell Admin is acting as Admin and Marc Demo as a regular user.

Step 1) Go into the General Settings and Activate Developer mode.

Step 2) Then select Users & Companies --> Groups as shown in the screenshot below:

Step 3) Select the record “User”:

Step 4) Go into the form view of the selected Project User record from the previous step:

Step 5) Now select the Access Rights tab and give "Create Access" to the line with Project as its Model as shown below (also add "Write Access" if you want the user to have access to editing project fields):

Alternatively do the above steps you can make a new User group for Project and allow this field.

How to make projects visible only when following or created:

Ensure we have enabled developer mode as per step 1 of the previous solution.

Step 1) Click the project app and Configuration -> Projects:


Step 2) Then click one of the projects in the resulting list, we selected Renovations in these steps.

Step 3) Next click the settings tab and you should see similar to the following:

For the Visibility field you are selecting either “All internal users” or “All internal users and invited portal users” and so to hide this project you should select “Invited internal users” or “Invited internal and portal users”

Step 4) Confirm and save your change of setting to “invited internal and portal users”:

After completing the above step 4 you should confirm that regular user, for us Marc Demo, can no longer see the Renovations project as they are not a follower. 

The remaining steps show how to make this the default visibility setting for new projects going forward.

Step 5) Click the debugging icon in the top menu and then select “Set Default Values” as shown in screenshot below:


Step 6) The following popup should be shown:

Step 7) Fill it out as follows in the screenshot below and press “Save Default”

Step 8) Confirm that was saved correctly by creating a project from admin, in our case Mitchell Admin, and checking that regular uninvited user does not have visibility for this project.

0
Avatar
Ignorer
Avatar
Sujata
Meilleure réponse

Hi Pedro Lopez,

Use Record Rules instead of group-based access

  1. Keep users in the "User: All Documents" group (or create a custom group with project creation rights)
  2. Create a record rule on the project.project model:

    • Domain: ['|', ('user_id', '=', user.id), ('message_partner_ids', 'in', user.partner_id.id)]
    • Apply on Read: Yes
    • This ensures users see only:

      • Projects they created (user_id)
      • Projects they're followers/members of (message_partner_ids)
0
Avatar
Ignorer
Pedro Lopez
Auteur

thank you, i'm trying to create the record rule with your recomendation but get this message: Invalid Domain: Invalid domain term ('partner_id', 'in', 3)

Avatar
Flavio Hernández
Meilleure réponse

you could try and make a group for this users with a record rule so they can only see or access a field where you assign users

0
Avatar
Ignorer
Pedro Lopez
Auteur

yes i tried but if i let them in the user group the users still cant create new projects

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 automatically create only one project (from template) for a Sale Order, even if it has multiple service lines?
configuration project
Avatar
Avatar
1
nov. 25
412
[Odoo V12] How to use OpenAI with Odoo 12 (Python 3.6+ required)? Résolu
configuration project
Avatar
Avatar
Avatar
2
juin 25
2584
Subtasks on Calendar View
configuration project
Avatar
Avatar
1
déc. 24
1628
ODOO 19 Enterprise manual
configuration accounting project
Avatar
Avatar
1
oct. 25
895
Override price list with quote
development configuration v18
Avatar
Avatar
Avatar
Avatar
3
mai 25
1387
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
  • Devenez 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 ภาษาไทย 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