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

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

S'inscrire

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

Cette question a été signalée
posrestaurantquickstartQuickstartv17
1 Répondre
4032 Vues
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
Ignorer
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
Meilleure réponse

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
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 send open tables to a different point of sales Résolu
pos quickstart Quickstart
Avatar
1
juin 25
3574
How to properly configure the 2-for-1 and 3-for2 promotion Résolu
pos quickstart Quickstart
Avatar
1
avr. 25
2259
[v17.0] Contact form is unreachable/ "I can't create or edit contacts in Odoo 17" Résolu
quickstart Quickstart v17
Avatar
Avatar
2
nov. 23
3394
[V16/15] [POS] How can I pick and print the ticket and then pay with another computer and user? Résolu
pos quickstart Quickstart
Avatar
1
janv. 23
4567
Can we book a table for a client in the PoS restaurant? Résolu
pos restaurant quickstart
Avatar
1
févr. 22
4114
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