The Lunch app lets the employees order their meal at work. The company makes a list of the vendors (restaurants, caterers) and of the meals. Each person picks a meal on a screen, and the money for it is taken from a small account that the person has in Odoo. At the end of the morning, the lunch manager sends the orders to the vendors and, when the food comes, marks the orders as received.
In this chapter we use two vendors, Green Bowl Kitchen and Pasta e Basta, with six meals, a few extras (sauces, drinks), two places to eat and one alert. Three people order: the Administrator, Sam Carter and Lucas Reed. You will see every screen, from the first setup to the account of each employee.
Words used in this chapter:
Vendor. A restaurant or a caterer that sells meals to the company.
Product (meal). One thing to eat or drink, with a price, a category and a vendor.
Extras. Things that can be added to a meal for a small price, such as a sauce or a drink. Each vendor has up to three lists of extras.
Location. The place where the meal is brought, for example the office or the canteen of the workshop.
Alert. A short message that the employees see when they order, for example the last hour to order.
Account (wallet). The money that an employee has for lunch. The balance goes up when the manager adds cash, and down when the employee orders.
Cash move. One line in an account: money added or money spent.
Order status. To Order (in the cart), Ordered (the employee clicked Order Now), Sent (the manager sent it to the vendor), Received (the food came) or Cancelled.
Edition note. The Lunch app (module lunch) is part of Odoo 20 Community. It needs only the Discuss base module. Nothing in this chapter needs Enterprise.
Opening the Lunch App
Click the Lunch icon on the home screen. The first screen is the ordering screen. When there is no meal yet, Odoo shows the message There is no product available today, and tells you to check that your vendors are available today and that you have set up some products. At the right you see the date, the place and the Available Balance ($0.00 here).
The menu bar has three entries:
My Lunch. New Order (the first screen), My Order History and My Account History (section 5).
Manager. Today's Orders, Control Vendors, Control Accounts and Cash Moves (sections 6 and 7). It is for the lunch managers.
Configuration. Settings, Vendors, Locations, Products, Product Categories and Alerts (section 1 to 3). It is for the lunch managers too.