Pular para o conteúdo
Odoo Menu
  • Entrar
  • Experimente grátis
  • Aplicativos
    Finanças
    • Financeiro
    • Faturamento
    • Despesas
    • Planilhas (BI)
    • Documentos
    • Assinar Documentos
    Vendas
    • CRM
    • Vendas
    • PDV Loja
    • PDV Restaurantes
    • Assinaturas
    • Locação
    Websites
    • Criador de Sites
    • e-Commerce
    • Blog
    • Fórum
    • Chat ao Vivo
    • e-Learning
    Cadeia de mantimentos
    • Inventário
    • Fabricação
    • PLM - Ciclo de Vida do Produto
    • Compras
    • Manutenção
    • Qualidade
    Recursos Humanos
    • Funcionários
    • Recrutamento
    • Folgas
    • Avaliações
    • Indicações
    • Frota
    Marketing
    • Redes Sociais
    • Marketing por E-mail
    • Marketing por SMS
    • Eventos
    • Automação de Marketing
    • Pesquisas
    Serviços
    • Projeto
    • Planilhas de Horas
    • Serviço de Campo
    • Central de Ajuda
    • Planejamento
    • Compromissos
    Produtividade
    • Mensagens
    • Aprovações
    • Internet das Coisas
    • VoIP
    • Conhecimento
    • WhatsApp
    Aplicativos de terceiros Odoo Studio Plataforma Odoo Cloud
  • Setores
    Varejo
    • Loja de livros
    • Loja de roupas
    • Loja de móveis
    • Mercearia
    • Loja de ferramentas
    • Loja de brinquedos
    Comida e hospitalidade
    • Bar e Pub
    • Restaurante
    • Fast Food
    • Hospedagem
    • Distribuidor de bebidas
    • Hotel
    Imóveis
    • Imobiliária
    • Escritório de arquitetura
    • Construção
    • Administração de propriedades
    • Jardinagem
    • Associação de proprietários de imóveis
    Consultoria
    • Escritório de Contabilidade
    • Parceiro Odoo
    • Agência de marketing
    • Escritório de advocacia
    • Aquisição de talentos
    • Auditoria e Certificação
    Fabricação
    • Têxtil
    • Metal
    • Móveis
    • Alimentação
    • Cervejaria
    • Presentes corporativos
    Saúde e Boa forma
    • Clube esportivo
    • Loja de óculos
    • Academia
    • Profissionais de bem-estar
    • Farmácia
    • Salão de cabeleireiro
    Comércio
    • Handyman
    • Hardware e Suporte de TI
    • Sistemas de energia solar
    • Sapataria
    • Serviços de limpeza
    • Serviços de climatização
    Outros
    • Organização sem fins lucrativos
    • Agência Ambiental
    • Aluguel de outdoors
    • Fotografia
    • Aluguel de bicicletas
    • Revendedor de software
    Navegar por todos os setores
  • Comunidade
    Aprenda
    • Tutoriais
    • Documentação
    • Certificações
    • Treinamento
    • Blog
    • Podcast
    Empodere a Educação
    • Programa de educação
    • Scale Up! Jogo de Negócios
    • Visite a Odoo
    Obtenha o Software
    • Baixar
    • Comparar edições
    • Releases
    Colaborar
    • Github
    • Fórum
    • Eventos
    • Traduções
    • Torne-se um parceiro
    • Serviços para parceiros
    • Cadastre seu escritório contábil
    Obtenha os serviços
    • Encontre um parceiro
    • Encontre um Contador
    • Conheça um consultor
    • Serviços de Implementação
    • Referências de Clientes
    • Suporte
    • Upgrades
    Github YouTube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Faça uma demonstração
  • Preços
  • Ajuda

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

  • CRM
  • e-Commerce
  • Financeiro
  • Inventário
  • PoS
  • Projeto
  • MRP
All apps
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
É necessário estar registrado para interagir com a comunidade.
Todas as publicações Pessoas Emblemas
Marcadores (Ver tudo)
odoo accounting v14 pos v15
Sobre este fórum
Ajuda

Restrict users to see all projects

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
configurationprojectv18
3 Respostas
184 Visualizações
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
Cancelar
Sujata

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

Avatar
Andrew Rose
Melhor resposta

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
Cancelar
Avatar
Sujata
Melhor resposta

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
Cancelar
Pedro Lopez
Autor

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
Melhor resposta

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
Cancelar
Pedro Lopez
Autor

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

Está gostando da discussão? Não fique apenas lendo, participe!

Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!

Inscreva-se
Publicações relacionadas Respostas Visualizações Atividade
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)? Resolvido
configuration project
Avatar
Avatar
Avatar
2
jun. 25
2584
Subtasks on Calendar View
configuration project
Avatar
Avatar
1
dez. 24
1628
ODOO 19 Enterprise manual
configuration accounting project
Avatar
Avatar
1
out. 25
895
Override price list with quote
development configuration v18
Avatar
Avatar
Avatar
Avatar
3
mai. 25
1387
Comunidade
  • Tutoriais
  • Documentação
  • Fórum
Open Source
  • Baixar
  • Github
  • Runbot
  • Traduções
Serviços
  • Odoo.sh Hosting
  • Suporte
  • Upgrade
  • Desenvolvimentos personalizados
  • Educação
  • Encontre um Contador
  • Encontre um parceiro
  • Torne-se um parceiro
Sobre nós
  • Nossa empresa
  • Ativos da marca
  • Contato
  • Empregos
  • Eventos
  • Podcast
  • Blog
  • Clientes
  • Legal • Privacidade
  • Segurança
الْعَرَبيّة 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 é um conjunto de aplicativos de negócios em código aberto que cobre todas as necessidades de sua empresa: CRM, comércio eletrônico, contabilidade, estoque, ponto de venda, gerenciamento de projetos, etc.

A proposta de valor exclusiva Odoo é ser, ao mesmo tempo, muito fácil de usar e totalmente integrado.

Site feito com

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