ランチ¶
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.
管理設定¶
Only two settings are needed to configure in the Lunch app: overdraft settings and notifications. To access the settings, navigate to .
以下を設定します:
ランチ超過引出額:従業員の最大超過引出額を入力します。通貨形式は会社の地域化設定によって決まります。
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.
ちなみに
If in a database with multiple languages installed, many forms in the Lunch application have the option of entering translations for various fields.
翻訳を設定できる場合、フォーム上の翻訳可能なフィールドの横に言語コードが表示されます。そのフィールドの翻訳を追加するには、2文字の言語コード (例えば、英語の場合はEN) をクリックすると、翻訳ポップアップウィンドウが表示されます。
以下は管理設定メニューの受付通知フィールドの例です:
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.
最初の列には、アルファベット順に異なる言語がリストされ、現在選択されている言語は太字で表示されます。2番目の列には、各列に現在設定されているメッセージが表示されます。右端の最後の列には、各言語の翻訳を入力するためのテキストボックスが表示されます。
各言語に表示されるテキストを入力し、Saveをクリックします。
ロケーション¶
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.
フィールドにロケーションの名前を入力します。次に、名前の右側にあるAddressフィールドをクリックし、ロケーションの住所を入力します。住所フィールドには複数行を入力できます。
追加する必要があるすべてのロケーションについてこれを繰り返します。
アラート¶
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).
受信者:このフィールドは表示オプションでチャット通知が選択された場合にのみ表示されます。チャットアラートを受け取る対象を選択します。選択肢は:全員、先週注文した従業員、先月注文した従業員、または昨年注文した従業員です。
場所:ドロップダウンメニューからアラートを表示する場所を選択します。複数の場所を選択できます。このフィールドは必須です。アラートがすべての場所に適用される場合は、ドロップダウンメニューからすべての場所を選択してください。
表示期限:アラートが特定の日付で期限切れになる場合は、カレンダーピッカーから日付を選択します。
稼働中:このオプションはデフォルトでオン(緑色で表示)です。アラートをオフにするには、トグルをクリックして緑色でなくなるようにします。
Message: このフィールドにアラートメッセージを入力します。このフィールドは必須です。
通知時刻:アラートを送信する曜日を選択します。デフォルトでは7日間すべてがアクティブです。チェックボックスをクリックして、アクティブから非アクティブに設定を変更します。
表示オプションでチャット通知が選択された場合、時刻フィールドも表示されます。チャットメッセージを送信する時刻を入力します。次に、時刻フィールドの右側にあるドロップダウンメニューを使用して、時刻がAMまたはPMのどちらかを選択します。
参照