Bữa ăn¶
The Lunch application in Odoo allows users a convenient way to order food and pay for their meal directly from the database.
Before employees can use the Lunch application, there are a number of configurations to consider: settings, vendors, locations, products, product categories, and alerts. Once these are created, employees can view offerings and order food.
Cài đặt¶
Only two settings are needed to configure in the Lunch app: overdraft settings and notifications. To access the settings, navigate to .
Cấu hình các mục sau:
Lunch Overdraft: enter the maximum overdraft amount for employees. The currency format is determined by the localization setting of the company.
Reception notification: set the message users receive via the Discuss app when their food has been delivered. The default message
Your lunch has been delivered. Enjoy your meal!populates this field, but can be modified, if desired.
Mẹo
If in a database with multiple languages installed, many forms in the Lunch application have the option of entering translations for various fields.
Nếu bản dịch có sẵn để cấu hình, mã ngôn ngữ xuất hiện bên cạnh trường có thể dịch trên biểu mẫu. Để thêm bản dịch cho trường đó, nhấp vào mã ngôn ngữ hai chữ cái (ví dụ: EN cho tiếng Anh) và cửa sổ bật lên bản dịch sẽ xuất hiện.
The following is an example for the Reception notification field in the settings menu:
Navigate to . Click the EN In the top-right of the text box beneath the Reception notification section. A Translate: company_lunch_notify_message pop-up window loads with the option to enter a translation for the other languages used by the database.
Cột đầu tiên liệt kê các ngôn ngữ khác nhau theo thứ tự bảng chữ cái, với ngôn ngữ hiện đang chọn in đậm. Cột thứ hai có thông báo hiện được cấu hình trong mỗi cột. Cột cuối cùng ở phía bên phải cung cấp hộp văn bản để nhập bản dịch cho từng ngôn ngữ.
Nhập văn bản sẽ xuất hiện cho mỗi ngôn ngữ, sau đó nhấp vào Lưu.
Vị trí¶
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 top-left corner and a blank line appears beneath the last location in the list.
Nhập tên vị trí vào trường. Tiếp theo, nhấp vào trường Địa chỉ ở bên phải tên và nhập địa chỉ của vị trí. Có thể nhập nhiều dòng trong trường địa chỉ.
Lặp lại điều này cho tất cả các vị trí cần được thêm vào.
Cảnh báo¶
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.
No alerts are pre-configured by default. To set up an alert, navigate to . Click the New button in the top-left 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. This field is required.Display: select whether the alert is visible in the Lunch app (Alert in app) or sent to employees via the Discuss app in a chat window (Chat notification).
Recipients: this field only appears if Chat notification is selected for the Display option. 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 should appear for from the drop-down menu. Multiple locations can be selected. This field is required, therefore, if the alert applies to all locations, select all the locations from the drop-down menu.
Show Until: if the alert should expire on a specific date, select the date from the calendar picker.
Active: this option is on (appears green) by default. To turn off the alert, click the toggle so that it no longer appears green.
Thông báo: Nhập thông báo cảnh báo vào trường này. Trường này là bắt buộc.
Notification Time: select the days of the week the alert should be sent. By default, all seven days are active. Click on a checkbox to change the setting from active to inactive.
If Chat notification was selected for the Display option, a Time field also appears. Enter the time the chat message should be sent. Next, select if the time is either AM or PM using the drop-down menu to the right of the Time field.