Vendors

Before products can be added to the Lunch app, the restaurants that provide the food must be configured.

To add a new vendor, first navigate to Lunch app ‣ Configuration ‣ Vendors. Here, all currently configured vendors for the Lunch app appear in a default Kanban view. To change to a list view, click the (list) icon in the top-right corner.

Note

No vendors are preconfigured in the Lunch app, so all vendors must be added to the database.

To add a new vendor, click the New button in the top-left corner, and a new lunch supplier form loads.

Fill out the following fields on the vendor form:

Vendor information

  • Vendor: enter a name for the vendor.

  • Vendor (beneath the line for vendor name): select the vendor from the drop-down menu. If the vendor has not already been entered in the system, type in the vendor name, and click either Create “new vendor name” to add them. Alternatively, click Create and edit… to create the vendor, and edit the vendor form. The vendor form allows for more detail, aside from the name, to be entered, such as contact information.

    Note

    If a selection is made to the drop-down Vendor field, the Vendor text field (above, for the vendor’s name) updates with the name of the vendor chosen from the drop-down menu.

    The list of vendors that is presented in the drop-down menu is pulled from the Contacts application.

  • Address: enter the vendor’s address in the various fields.

  • Email: enter the vendor’s email.

  • Phone: enter the vendor’s phone number.

  • Company: if this vendor is only available to a specific company, select the company from the drop-down menu. If this field is left blank, the vendor’s items are available to all companies.

The top portion of the vendor form filled out.

Availability

The AVAILABILITY section presents a table with two rows. The days of the week populate the top row, and the bottom row has checkboxes. Tick the corresponding checkbox for each day of the week the vendor is available.

By default, Monday through Friday are ticked.

The default view of the availability section, with Mon-Fri enabled.

Orders

The ORDERS section of the vendor form details which locations the vendor is available for, in addition to how and when orders are placed and received.

  • Delivery: using the drop-down menu, select Delivery if the vendor delivers to the office, or select No Delivery if orders must be picked up.

  • Location: select which locations are able to order from this vendor. Multiple locations can be selected. If this field is left blank, all locations can order from the vendor.

    Note

    An HQ Office location is created by default when creating a database, and is available to select from the list.

  • Send Order By: click the radio button to select how orders are sent to the vendor. The available options are Phone or Email.

  • Order Time: this field only appears if Email is selected in the Send Order By field. Enter the time that an order must be emailed for it to be accepted. Enter the time in the following format: HH:MM. Then select either AM or PM from the drop-down menu, next to the time field.

The orders section of a vendor form, with all fields filled out.

Extras

When ordering an item in the Lunch app, optional extra items, sometimes referred to as add-ons, can be shown. These can be configured in any manner that suits the products being offered.

By default, Odoo allows for three types of extra items, which can be thought of as categories. By default, the first type (or category) of add-ons is labeled Extras, the second is labeled Beverages, and the third is labeled Extra Label 3.

Important

When configuring the extras, it is important to keep in mind that all the extras configured appear for every item offered by the vendor. That means that only items which apply to all products from the vendor should be added.

Configure extras

Enter the following information for each of the three available extra sections:

  • Extra (#) Label: enter a name for the type of extra, such as Toppings. This can be thought of as a category.

  • Extra (#) Quantity: select how the extras are selected. The options are:

    • None or More: select this if the user is not required to make a selection.

    • One or More: select this to require the user to make at least one selection.

    • Only One: select this to require the user to make only one selection.

Add extras

After the labels and quantities have been configured for an extra category, the individual extra items must be added for each category.

Click Add a line at the bottom of the list that appears on the right-hand side of the extra category. Enter the Name and Price for each item being added. The price can remain at $0.00 if there is no cost. This is common for items like disposable silverware or condiments.

Example

For a pizzeria that only offers personal pizzas, see their extras configured as follows:

The first extra is configured for the various toppings they offer. The Extra 1 Label is set to Toppings, and the Extra 1 Quantity is set to None or More. The various toppings are then added, with their corresponding costs.

The first of the extras configured for pizza toppings.

The pizzeria also offers a free beverage with any purchase. To set this up, the Extra 2 Label is set to Beverages, and the Extra 1 Quantity is set to Only One. The various beverage choices are added, and the cost for each remains zero.

The second of the extras configured for a free beverage with purchase.