午餐¶
Odoo中的**午餐**应用允许用户直接从数据库方便地订餐和支付餐费。
在员工可以使用**午餐**应用之前,需要进行多项配置:设置、供应商、地点、产品 和 产品类别。创建并配置好这些项目后,员工便可以查看菜单并订餐。
設定¶
在 设置`菜单中,只需配置两个项目:透支设置和通知。要访问设置,请前往 :menuselection:`午餐应用 –> 配置 –> 设置。
配置以下内容:
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.
Translation support¶
如果数据库安装了多种语言,**午餐**应用中的许多表单都提供了为不同字段输入翻译的选项。
如果某个字段可配置翻译,其旁边会出现一个语言代码。要为该字段添加翻译,请点击双字母语言代码(例如,:guilabel:`EN`代表英语),之后会弹出一个翻译窗口。
The image below 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.
第一列按字母顺序列出不同的语言,当前选择的语言以粗体显示。第二列显示每种语言当前配置的消息。最右侧的最后一列为每种语言提供一个文本框以输入翻译。
为每种语言输入应显示的文本,然后点击 保存。
位置¶
默认情况下,安装**午餐**应用后,Odoo会创建一个名为`总部办公室`的地点。如果公司有多个办公地点,则必须对这些地点进行配置。
要添加地点,请前往 。当前已配置的地点会以列表视图显示。点击左上角的 :guilabel:`新建`按钮,列表中的最后一个地点下方会出现一个空白行。
在该字段中输入位置名称。然后,点击名称右侧的 地址 字段,输入地点的地址。可以在地址栏中输入多行。
对所有需要添加的位置重复此操作。
警報¶
可以设置提醒,这些提醒既可以显示在**午餐**应用中,也可以通过**内部讨论**应用发送给特定员工。
默认情况下,系统未预先配置任何提醒。要设置提醒,请前往 。点击左上角的 :guilabel:`新建`按钮,系统会加载一个空白的午餐提醒表单。在表单上输入以下信息:
Alert Name: Enter a name for the alert. This should be short and descriptive, such as
New Lunch VendororOrder by 11:00 AM. 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 right side of the dashboard.
Chat notification: The alert is sent to users via the Discuss app in a chat window. 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, therefore, if the alert applies to all locations, select all the locations from the drop-down menu. If this field is left blank, the alert will not be displayed.
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.
消息:在此字段中输入提醒消息。此字段为**必填项**。
Notification Time: Select the days of the week the alert is visible or 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 appears beneath the Notification Time block. Enter the time the chat message is sent. Next, select if the time is either AM or PM using the drop-down menu to the right of the time field.