Bỏ qua để đến Nội dung
Odoo Menu
  • Đăng nhập
  • Dùng thử miễn phí
  • Ứng dụng
    Tài chính
    • Kế toán
    • Hóa đơn
    • Chi phí
    • Bảng tính (BI)
    • Tài liệu
    • Ký tên
    Bán hàng
    • CRM
    • Bán hàng
    • POS Cửa hàng
    • POS Nhà hàng
    • Đăng ký
    • Cho thuê
    Trang web
    • Trình tạo trang web
    • Thương mại điện tử
    • Blog
    • Diễn đàn
    • Trò chuyện trực tiếp
    • Học trực tuyến
    Chuỗi cung ứng
    • Tồn kho
    • Sản xuất
    • PLM
    • Mua hàng
    • Bảo dưỡng
    • Chất lượng
    Nhân sự
    • Nhân viên
    • Tuyển dụng
    • Ngày nghỉ
    • Đánh giá
    • Giới thiệu
    • Đội xe
    Marketing
    • Marketing trên MXH
    • Marketing qua email
    • Marketing qua SMS
    • Sự kiện
    • Tự động hóa Marketing
    • Khảo sát
    Dịch vụ
    • Dự án
    • Bảng chấm công
    • Dịch vụ hiện trường
    • Hỗ trợ
    • Kế hoạch
    • Lịch hẹn
    Năng suất
    • Thảo luận
    • Phê duyệt
    • IoT
    • VoIP
    • Kiến thức
    • WhatsApp
    Ứng dụng của bên thứ ba Studio Odoo Nền tảng Đám mây Odoo
  • Ngành
    Bán lẻ
    • Nhà sách
    • Cửa hàng quần áo
    • Cửa hàng nội thất
    • Cửa hàng tạp hóa
    • Cửa hàng đồ kim khí
    • Cửa hàng đồ chơi
    Ẩm thực & Dịch vụ lưu trú
    • Bar và quán rượu
    • Nhà hàng
    • Đồ ăn nhanh
    • Guest house
    • Nhà phân phối đồ uống
    • Khách sạn
    Bất động sản
    • Công ty môi giới bất động sản
    • Công ty kiến trúc
    • Xây dựng
    • Quản lý bất động sản
    • Làm vườn
    • Hiệp hội chủ sở hữu bất động sản
    Tư vấn
    • Công ty kế toán
    • Đối tác Odoo
    • Công ty marketing
    • Công ty luật
    • Tuyển dụng
    • Thanh tra & chứng nhận
    Sản xuất
    • Dệt may
    • Kim loại
    • Nội thất
    • Ẩm thực
    • Nhà máy bia
    • Quà tặng doanh nghiệp
    Sức khoẻ & fitness
    • CLB thể thao
    • Cửa hàng kính mắt
    • Trung tâm fitness
    • Chuyên gia chăm sóc sức khỏe
    • Hiệu thuốc
    • Tiệm làm tóc
    Thương mại
    • Dịch vụ sửa chữa
    • Phần cứng CNTT & Hỗ trợ
    • Hệ thống năng lượng mặt trời
    • Công ty sản xuất giày
    • Dịch vụ vệ sinh
    • Dịch vụ HVAC
    Khác
    • Tổ chức phi lợi nhuận
    • Cơ quan môi trường
    • Cho thuê biển quảng cáo
    • Nhiếp ảnh
    • Cho thuê xe đạp
    • Đại lý phần mềm
    Xem tất cả ngành
  • Cộng đồng
    Học tập
    • Khóa học
    • Tài liệu
    • Chứng chỉ
    • Đào tạo
    • Blog
    • Podcast
    Thúc đẩy đào tạo
    • Chương trình đào tạo
    • Trò chơi kinh doanh Scale Up!
    • Tham quan Odoo
    Nhận phần mềm
    • Tải xuống
    • So sánh các phiên bản
    • Phiên bản
    Hợp tác
    • Github
    • Diễn đàn
    • Sự kiện
    • Dịch thuật
    • Trở thành đối tác
    • Dịch vụ dành cho Đối tác
    • Đăng ký công ty kế toán của bạn
    Nhận dịch vụ
    • Tìm đối tác
    • Tìm kế toán
    • Gặp chuyên gia hỗ trợ
    • Dịch vụ Triển khai
    • Khách hàng tham khảo
    • Hỗ trợ
    • Nâng cấp
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Nhận một buổi demo
  • Bảng giá
  • Trợ giúp

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

  • CRM
  • e-Commerce
  • Kế toán
  • Tồn kho
  • PoS
  • Dự án
  • MRP
All apps
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Bạn cần phải đăng ký để tương tác với cộng đồng.
Tất cả bài viết Người Huy hiệu
Thẻ (Xem tất cả)
odoo accounting v14 pos v15
Về diễn đàn này
Hỗ trợ

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

Đăng ký nhận tin

Nhận thông báo khi có hoạt động trên bài viết này

Câu hỏi này đã bị gắn cờ
posrestaurantquickstartQuickstartv17
1 Trả lời
4055 Lượt xem
Ảnh đại diện
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
Ảnh đại diện
Huỷ bỏ
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?

Ảnh đại diện
Bernal González León
Câu trả lời hay nhất

Hi, is there a solution for this?

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

Thanks in advance for any help.

0
Ảnh đại diện
Huỷ bỏ
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!

Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!

Đăng ký
Bài viết liên quan Trả lời Lượt xem Hoạt động
How to send open tables to a different point of sales Đã xử lý
pos quickstart Quickstart
Ảnh đại diện
1
thg 6 25
3592
How to properly configure the 2-for-1 and 3-for2 promotion Đã xử lý
pos quickstart Quickstart
Ảnh đại diện
1
thg 4 25
2269
[v17.0] Contact form is unreachable/ "I can't create or edit contacts in Odoo 17" Đã xử lý
quickstart Quickstart v17
Ảnh đại diện
Ảnh đại diện
2
thg 11 23
3405
[V16/15] [POS] How can I pick and print the ticket and then pay with another computer and user? Đã xử lý
pos quickstart Quickstart
Ảnh đại diện
1
thg 1 23
4573
Can we book a table for a client in the PoS restaurant? Đã xử lý
pos restaurant quickstart
Ảnh đại diện
1
thg 2 22
4125
Cộng đồng
  • Khóa học
  • Tài liệu
  • Diễn đàn
Open source
  • Tải xuống
  • Github
  • Runbot
  • Dịch thuật
Dịch vụ
  • Lưu trữ Odoo.sh
  • Hỗ trợ
  • Nâng cấp
  • Phát triển tùy chỉnh
  • Đào tạo
  • Tìm kế toán
  • Tìm đối tác
  • Trở thành đối tác
Giới thiệu công ty
  • Công ty của chúng tôi
  • Tài sản thương hiệu
  • Liên hệ
  • Việc làm
  • Sự kiện
  • Podcast
  • Blog
  • Khách hàng
  • Pháp lý • Riêng tư
  • Bảo mật
الْعَرَبيّة 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 là bộ ứng dụng kinh doanh có open source đáp ứng tất cả các nhu cầu của công ty bạn: CRM, thương mại điện tử, kế toán, tồn kho, POS, quản lý dự án, v.v.

Định hướng giá trị riêng biệt của Odoo là tích hợp hoàn toàn và dễ dàng sử dụng.

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