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

Limit waiters ability to delete products and close tables in Odoo POS Restaurant

Inscrever

Seja notificado quando houver atividade nesta publicação

Esta pergunta foi sinalizada
posrestaurantquickstartQuickstartv17
1 Responder
4022 Visualizações
Avatar
Gonzalo Campillo Brañes (gocb)

Dear Odoo Community,


I would like to address a common concern in restaurant management, specifically related to Odoo POS in v17 and previous. Currently, the system allows any user, including waiters, to delete products during a POS session, which may not be ideal for managerial control.


Below you can find a workaround to limit the ability to delete products and close tables (register payments) in a POS session to managerial staff only. Please follow the steps below:


Note: This solution is designed under the assumption that there are at least two users in the POS system at all times. One user should have full access to Odoo POS and backend, designated for the manager. The second user should have limited access, specifically for waiter use. 


Step 1: Limiting User Rights for Product Deletion
  1. Activate developer mode and navigate to the Settings app.
  2. Go to the Users & Companies menu and access the Groups section. By default, Odoo provides two access groups for Point of Sale: Administrator and User. We will create a new intermediary group, which we can refer to as "User with Deleting Rights" (explained below).



Search for the “Point of Sale / User” access group and click on it: 

 


Then go to the “Access Rights” tab, find the “pos.order.line” record and uncheck the box from the “Delete Access” column:



Step 2: Create a new intermediate access group

Before creating the intermediate access group we need to know in which app to create it (there’s more than one Point of Sale so we need to know which one is the correct one with the access groups inside it). 


We will look for it by accessing the “Point of Sale / Administrator” access right and then clicking on the internal link of the “Application” field:


We need to know what is the internal id of this Point of Sale app (you can identify it on the url next to id=):


Now we can create a new access group by going to the “Groups” menu and clicking in the “New” button. In order to create the new group we need to choose the correct app in the “Application” field. For this click in the field and then “Search More…”. In the search bar click the right arrow and then “Add Custom Filter” the criteria in this filter will be: ID = *the ID of the point of sale app we looked for in the previous step*. Then select the Point of Sale app:


Now we have the correct “Application” and we can define the access group name (User with deleting rights). Then we have to go to the Access Rights tab and create the following access right by adding a line (Name = pos.order.line ; Model = Point of Sale Order Lines ; all checkboxes on):


In the “Inherited” tab of the new access group “Add a line” and search for the “Point of Sale / User” group name:



Step 3: Change the inherited user groups to the administrator

Once the new intermediate group is created (User with deleting rights) we need to reorder the hierarchy of the access rights groups in point of sale. The logic is that: administrator inherits the new intermediate group, and the new intermediate group inherits the user group. 


In order to do this, go to the “Point of Sale / Administrator” group access and in the “Inherited” tab delete the line containing “Point of Sale / User” and add Add a line with the “Point of Sale / User with deleting rights” group:


Step 4: Define users access rights

Once the access group is created and configurations are ready. We can assign the “User with deleting rights” to the manager and “User” to the waiters users. This will allow managers to delete products and limit the waiters user to pay (checkout) if they’ve deleted products from the POS order:



Step 5: Test the configurations

With this configuration, the business flow should work. Remember for this use case in the real operation, the restaurant should login to the waiters screens with the Waiters user and the manager that can delete products should be in a different computer logged in with the Restaurant Manager user. This way only managers can close orders or delete products from tables.


Limitations: with this workaround only managers are able to delete products from tables and close tables (payment process). This may slow down the operation for many restaurants but in many cases owners prefer this workflow in order to have control of what is sold without waiters being able to simply delete products and keepíng the cash for themselves.

5
Avatar
Cancelar
Jonathan Delince

Hello,
this solution doesn't work and it's clearly a big failure in POS security.
When you send an order to the kitchen via the POS, the order line is systematically deleted (I don't know why...).
It means that you can't remove access to an employee to delete order lines from the order.

I guess that the code behind use the same "user" to trigger this action.

I opened a ticket to Odoo and I insisted, I didn't receive any support yet.

If you have an other solution, please let me know.

Tested with Odoo 17.0 and 17.2.

Elizna Van Deventer

Hi is there a solution yet for odoo 18?

Avatar
Bernal González León
Melhor resposta

Hi, is there a solution for this?

As Gonzalo said, it is a problem for system control.

Thanks in advance for any help.

0
Avatar
Cancelar
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 send open tables to a different point of sales Resolvido
pos quickstart Quickstart
Avatar
1
jun. 25
3566
How to properly configure the 2-for-1 and 3-for2 promotion Resolvido
pos quickstart Quickstart
Avatar
1
abr. 25
2251
[v17.0] Contact form is unreachable/ "I can't create or edit contacts in Odoo 17" Resolvido
quickstart Quickstart v17
Avatar
Avatar
2
nov. 23
3386
[V16/15] [POS] How can I pick and print the ticket and then pay with another computer and user? Resolvido
pos quickstart Quickstart
Avatar
1
jan. 23
4565
Can we book a table for a client in the PoS restaurant? Resolvido
pos restaurant quickstart
Avatar
1
fev. 22
4111
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