Lunch¶
The Lunch application in Odoo allows users to conveniently order food and pay for their meal directly from the database.
Before employees can use the Lunch application, there are a number of configurations that need to be made: settings, vendors, locations, products, and product categories. Once these are created and configured, employees can view offerings and order food.
Settings¶
In the Settings menu, only two items need to be configured: overdraft settings and notifications. To access the settings, navigate to .
Configure the following:
Lunch Overdraft: Enter the maximum negative balance employees can reach in the Overdraft field. The default value of
0.00means employees can only order what their lunch account balance covers. The currency is the company’s currency.Reception notification: Set the message users receive when a Lunch manager notifies them that their order has been delivered. The default message
Your lunch has been delivered. Enjoy your meal!populates this field, but can be modified, if desired.
Both settings are defined per company.
Note
If several languages are installed in the database, the Reception notification message, as well as the names and descriptions of products, the names of product categories, and the names and messages of alerts, can be translated. Click the language code (for example, EN) displayed next to the field to open the translation pop-up window, enter the text for each language, then click Save.
Locations¶
By default, Odoo creates an HQ Office location when the Lunch application is installed. If a
company has more than one location, they must be configured.
To add a location, navigate to . The currently configured locations appear in a list view. Click the New button in the corner and a blank line appears beneath the last location in the list.
Enter the name of the location in the Location Name field. Next, click into the Address field and enter the location’s specific address. It is possible to enter multiple lines in the address field. In a multi-company database, select the Company the location belongs to.
Repeat this for all locations that need to be added.
Alerts¶
It is possible to set up alerts that can either be displayed in the Lunch app, or be sent to specific employees via the Discuss app.
To set up an alert, navigate to . Click the New button in the corner and a blank lunch alert form loads. Enter the following information on the form:
Alert Name: Enter a name for the alert. This should be short and descriptive, such as
New Lunch VendororOrder by 11:30. This field is required.Display: Select how the alert is shown. The options are:
Alert in app: The alert is visible on the main Lunch app dashboard, in an orange box, above the user’s name on the dashboard.
Chat notification: The alert is sent to users as a notification, received in their Discuss inbox or by email, depending on their notification preferences. If this option is selected, the following additional field appears:
Recipients: Select who receives the chat alert. The options are: Everyone, Employee who ordered last week, Employee who ordered last month, or Employee who ordered last year.
Location: Select the locations the alert appears for using the drop-down menu. Multiple locations can be selected. This field is required. If the alert applies to all locations, select all the locations from the drop-down menu. Chat notifications are only sent to users whose last lunch location is one of the selected locations.
Show Until: If the alert should expire on a specific date, select the date from the calendar picker.
Active: This option is enabled (appears green) by default. To turn off the alert, click the toggle so that it no longer appears green.
Message: Enter the alert message in this field. This field is required.
Days of the week: Click the days of the week the alert is visible or sent. By default, all seven days are ticked. If Chat notification is selected for the Display option, a Notification Time field appears beneath the days of the week. Enter the time the chat message is sent, in the 24-hour
HH:MMformat (for example,10:30).