Skip to Content
Odoo Menu
  • Log ind
  • Prøv gratis
  • Apps
    Økonomi
    • Bogføring
    • Fakturering
    • Udgifter
    • Regneark (BI)
    • Dokumenter
    • e-Signatur
    Salg
    • CRM
    • Salg
    • POS Butik
    • POS Restaurant
    • Abonnementer
    • Udlejning
    Hjemmeside
    • Hjemmesidebygger
    • e-Handel
    • Blog
    • Forum
    • LiveChat
    • e-Læring
    Forsyningskæde
    • Lagerbeholdning
    • Produktion
    • PLM
    • Indkøb
    • Vedligeholdelse
    • Kvalitet
    HR
    • Medarbejdere
    • Rekruttering
    • Fravær
    • Medarbejdersamtaler
    • Anbefalinger
    • Flåde
    Marketing
    • Markedsføring på sociale medier
    • E-mailmarketing
    • SMS-marketing
    • Arrangementer
    • Automatiseret marketing
    • Spørgeundersøgelser
    Tjenester
    • Projekt
    • Timesedler
    • Udkørende Service
    • Kundeservice
    • Planlægning
    • Aftaler
    Produktivitet
    • Dialog
    • Godkendelser
    • IoT
    • VoIP
    • Vidensdeling
    • WhatsApp
    Tredjepartsapps Odoo Studio Odoo Cloud-platform
  • Brancher
    Detailhandel
    • Boghandel
    • Tøjforretning
    • Møbelforretning
    • Dagligvarebutik
    • Byggemarked
    • Legetøjsforretning
    Mad og værtsskab
    • Bar og pub
    • Restaurant
    • Fastfood
    • Gæstehus
    • Drikkevareforhandler
    • Hotel
    Ejendom
    • Ejendomsmægler
    • Arkitektfirma
    • Byggeri
    • Ejendomsadministration
    • Havearbejde
    • Boligejerforening
    Rådgivning
    • Regnskabsfirma
    • Odoo-partner
    • Marketingbureau
    • Advokatfirma
    • Rekruttering
    • Audit & certificering
    Produktion
    • Tekstil
    • Metal
    • Møbler
    • Fødevareproduktion
    • Bryggeri
    • Firmagave
    Heldbred & Fitness
    • Sportsklub
    • Optiker
    • Fitnesscenter
    • Kosmetolog
    • Apotek
    • Frisør
    Håndværk
    • Handyman
    • IT-hardware og support
    • Solenergisystemer
    • Skomager
    • Rengøringsservicer
    • VVS- og ventilationsservice
    Andet
    • Nonprofitorganisation
    • Miljøagentur
    • Udlejning af billboards
    • Fotografi
    • Cykeludlejning
    • Softwareforhandler
    Gennemse alle brancher
  • Community
    Få mere at vide
    • Tutorials
    • Dokumentation
    • Certificeringer
    • Oplæring
    • Blog
    • Podcast
    Bliv klogere
    • Udannelselsesprogram
    • Scale Up!-virksomhedsspillet
    • Besøg Odoo
    Få softwaren
    • Download
    • Sammenlign versioner
    • Udgaver
    Samarbejde
    • Github
    • Forum
    • Arrangementer
    • Oversættelser
    • Bliv partner
    • Tjenester til partnere
    • Registrér dit regnskabsfirma
    Modtag tjenester
    • Find en partner
    • Find en bogholder
    • Kontakt en rådgiver
    • Implementeringstjenester
    • Kundereferencer
    • Support
    • Opgraderinger
    Github Youtube Twitter LinkedIn Instagram Facebook Spotify
    +1 (650) 691-3277
    Få en demo
  • Prissætning
  • Hjælp

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

  • CRM
  • e-Commerce
  • Bogføring
  • Lager
  • PoS
  • Projekt
  • MRP
All apps
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Du skal være registreret for at interagere med fællesskabet.
All Posts People Emblemer
Tags (View all)
odoo accounting v14 pos v15
Om dette forum
Hjælp

Restrict users to see all projects

Tilmeld

Få besked, når der er aktivitet på dette indlæg

Dette spørgsmål er blevet anmeldt
configurationprojectv18
3 Besvarelser
252 Visninger
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
Kassér
Sujata

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

Avatar
Andrew Rose
Bedste svar

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
Kassér
Avatar
Sujata
Bedste svar

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
Kassér
Pedro Lopez
Forfatter

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
Bedste svar

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
Kassér
Pedro Lopez
Forfatter

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

Enjoying the discussion? Don't just read, join in!

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

Tilmeld dig
Related Posts Besvarelser Visninger Aktivitet
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
445
[Odoo V12] How to use OpenAI with Odoo 12 (Python 3.6+ required)? Løst
configuration project
Avatar
Avatar
Avatar
2
jun. 25
2598
Subtasks on Calendar View
configuration project
Avatar
Avatar
1
dec. 24
1648
ODOO 19 Enterprise manual
configuration accounting project
Avatar
Avatar
1
okt. 25
916
Override price list with quote
development configuration v18
Avatar
Avatar
Avatar
Avatar
3
maj 25
1408
Community
  • Tutorials
  • Dokumentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Oversættelser
Tjenester
  • Odoo.sh-hosting
  • Support
  • Opgradere
  • Individuelt tilpasset udvikling
  • Uddannelse
  • Find en bogholder
  • Find en partner
  • Bliv partner
Om os
  • Vores virksomhed
  • Brandaktiver
  • Kontakt os
  • Stillinger
  • Arrangementer
  • Podcast
  • Blog
  • Kunder
  • Juridiske dokumenter • Privatlivspolitik
  • Sikkerhedspolitik
الْعَرَبيّة 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 er en samling open source-forretningsapps, der dækker alle dine virksomhedsbehov – lige fra CRM, e-handel og bogføring til lagerstyring, POS, projektledelse og meget mere.

Det unikke ved Odoo er, at systemet både er brugervenligt og fuldt integreret.

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