# Your first delivery

This workflow starts at Odoo web as assigning drivers to the orders can be done either manually or based on the dispatch rules.

{% hint style="info" %}
To create a dispatch rule, see the [Creating a dispatch rule](https://docs.next-way.org/product-guides/creating-a-dispatch-rule) guide.
{% endhint %}

When left unassigned, drivers using Nextway Mobile App can see the job order as unassigned and they can accept the job order for themselves.\
\
The workflow ends with the job order assigned and completed using the Nextway Mobile App.&#x20;

## Driver assignment in Odoo

{% embed url="<https://scribehow.com/embed/Driver_assignment_on_Web__pV-glbCKQ0iare8CCh4kAg>" %}

## Self-assignment using Nextway Mobile App

From the app, tap "**Unassigned"** tab.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2F7DU1SV8p0G2PgPxeuPQj%2FScreenshot_20221229-192747_Video%20Player.jpg?alt=media&#x26;token=0dd0d704-088b-4cbf-bacc-35b25454eeab" alt=""><figcaption></figcaption></figure>

Then, check all the details. Once everything checks out, tap **"Accept"**.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2F65sf2RA6QCHVMNArXloG%2FScreenshot_20221229-192805_Video%20Player.jpg?alt=media&#x26;token=79acf04e-3c3d-4528-b381-c782f00d3abb" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2F4TYiF8XALDiUeZthz6Oo%2Faccept_wait.jpg?alt=media&#x26;token=0a3f3d9d-5c0b-4326-902f-29369c6eeefd" alt=""><figcaption></figcaption></figure>

After a few moment, the job should now be assigned.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FyhNuX6036MAiFDEOqXkO%2Fassigned.jpg?alt=media&#x26;token=87cffbee-7484-4b69-a016-5bfb0c63ef43" alt=""><figcaption></figcaption></figure>

After a while, the screen will change to the drop-off screen.

## Completing the order

### Drop off

Once the driver is at the customer's designated delivery address, the driver then taps on "**Drop off"** button to mark the order.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FEcx5GvONmWktyk1LSzdO%2Fdropoff.jpg?alt=media&#x26;token=ad9cd6b0-2c87-4f65-9ffa-6d2bc7cd8268" alt=""><figcaption></figcaption></figure>

Menu items are also available to the driver now as the job order is for drop off.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FCxqKxM2LmI2OJuqzzkaO%2Fdropoffmenus.png?alt=media&#x26;token=f87fc4ae-1aa4-4167-b644-b5018c44d2e8" alt=""><figcaption></figcaption></figure>

### Collect payment

Add a few notes. Collect the payment from the customer. And tap **"Collect"**.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FK79MnjiucMz56tYMKZQR%2FScreenshot_20221229-194905_Nextway%20Staging.jpg?alt=media&#x26;token=ae38d57c-c421-48a9-a533-e06c727e6faf" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FypgcOjfoiIXeuWchc1N0%2FScreenshot_20221229-194913_Nextway%20Staging.jpg?alt=media&#x26;token=55da3532-c6ff-470a-818e-33b8254cbafe" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FXYnoQfvaqkfJqR6PJlax%2FScreenshot_20221229-194919_Nextway%20Staging.jpg?alt=media&#x26;token=515c18bc-0618-49b2-ab93-630d744e3b98" alt=""><figcaption></figcaption></figure>

### Validating delivery in Odoo

Checking the order in Odoo, the drop off and collection of payment actions by the driver in the Nextway Driver App also updates the log.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2F8QVXVBzfk58iACTHozbY%2Forder_done_web.png?alt=media&#x26;token=b17f9e2b-83f7-4cb6-8d5e-3e3c43422576" alt=""><figcaption></figcaption></figure>

Clicking on the "**Delivery"** button, set the quantities done in delivery and click **"Validate".**

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FJRAjhqyn97yIHXl7rbfN%2Forder_validate.png?alt=media&#x26;token=5ed77229-4120-412f-902d-67013f079a09" alt=""><figcaption></figcaption></figure>

And finally the delivery is complete.

<figure><img src="https://1434748814-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8jzt5nEhAzb1K8eIfu48%2Fuploads%2FYByhoChT9RwLzSLwPOzb%2Forder_complete.png?alt=media&#x26;token=df2262d7-2492-4381-9690-dd31544d172c" alt=""><figcaption></figcaption></figure>

## Conclusion

At this section, we have learned the following:

1. Assigning driver manually and automatically based on dispatch rules in Odoo
2. Self-assignment using the Driver Nextway App
3. Drop off and collection
4. Validating and completing the delivery in Odoo
