Files
odoo_source/addons/pos_restaurant
Adrien Guilliams (adgu) 6cd9185b05 [IMP] pos*: book/release table in pos_restaurant
pos*: point_of_sale, pos_restaurant

The current approach to book/release a table isn't so intuitive,
knowing that when selecting an empty table from the floor plan:
- an empty order is created on that table, displaying it as booked
on the floor plan
- as long as the order remains empty, we display a "Release table"
button in order to delete the related empty order and display
the table as free on the floor plan

Here is the change brought by this commit:
- Change the "Release table" button to "Book table"
- Don't create an empty order on the table until User either:
  - hits "Book table"
  - starts adding products to the cart
- Table can be released by deleting the order
- Deleting the last order on the table, redirects User to the floor
- Control Buttons are not accessible with unbooked tables
plan

closes odoo/odoo#145896

Task-id: 3624323
Signed-off-by: Joseph Caburnay (jcb) <jcb@odoo.com>
2024-01-16 13:15:19 +00:00
..
…