Metadata-Version: 2.1
Name: odoo-addon-stock_fleet_delivery_driver
Version: 18.0.1.0.1.2
Requires-Python: >=3.10
Requires-Dist: odoo-addon-delivery_driver==18.0.*
Requires-Dist: odoo==18.0.*
Summary: Allow choose Vehicle in Carriers, Transfers and Batches
Home-page: https://github.com/OCA/delivery-carrier
License: LGPL-3
Author: Moduon, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 18.0
Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
Classifier: Development Status :: 3 - Alpha
Description-Content-Type: text/x-rst

.. image:: https://odoo-community.org/readme-banner-image
   :target: https://odoo-community.org/get-involved?utm_source=readme
   :alt: Odoo Community Association

===========================
Stock Fleet Delivery Driver
===========================

.. 
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! This file is generated by oca-gen-addon-readme !!
   !! changes will be overwritten.                   !!
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
   !! source digest: sha256:6d1bddb6b3058248951c51f6cfcc58726a817a0a8ee462f2e21dff02a88aa16b
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |badge1| image:: https://img.shields.io/badge/maturity-Alpha-red.png
    :target: https://odoo-community.org/page/development-status
    :alt: Alpha
.. |badge2| image:: https://img.shields.io/badge/license-LGPL--3-blue.png
    :target: http://www.gnu.org/licenses/lgpl-3.0-standalone.html
    :alt: License: LGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fdelivery--carrier-lightgray.png?logo=github
    :target: https://github.com/OCA/delivery-carrier/tree/18.0/stock_fleet_delivery_driver
    :alt: OCA/delivery-carrier
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/delivery-carrier-18-0/delivery-carrier-18-0-stock_fleet_delivery_driver
    :alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
    :target: https://runboat.odoo-community.org/builds?repo=OCA/delivery-carrier&target_branch=18.0
    :alt: Try me on Runboat

|badge1| |badge2| |badge3| |badge4| |badge5|

This module extends the functionality of Stock, Delivery and Fleet to
allow you to assign default vehicle in delivery Carriers and Transfers
and propagate them to the Batch. Also allow propagate drivers to the
Batch and lets auto-batch by vehicle and/or driver.

.. IMPORTANT::
   This is an alpha version, the data model and design can change at any time without warning.
   Only for development or testing purpose, do not use in production.
   `More details on development status <https://odoo-community.org/page/development-status>`_

**Table of contents**

.. contents::
   :local:

Use Cases / Context
===================

This module was developed because there is no possibility to assign
vehicles in Carriers or Transfers and propagate them to the Batches and
Waves.

This is useful if you want to be able to propagate Vehicles or Drivers
from the Sale to the Batch and change it when you want.

Configuration
=============

To configure this module, you need to:

1. Go to Inventory > Configuration > Settings.
2. Activate Batch, Wave & Cluster Transfers

Usage
=====

Basic configuration
-------------------

1. Go to Inventory > Configuration > Settings and activate Dispatch
   Management System.
2. Go to Fleet App and create new Vehicle or choose one already created.
3. Add a Driver and a Category (with weight and volume limits) to the
   Vehicle.
4. Go to Inventory > Configuration > Delivery > Delivery Methods.
5. Create new Delivery Method or choose one already created.
6. Add a Vehicle to the Delivery Method.

Sale Flow
---------

1. Go to Sales > Orders > Quotations.
2. Create new Sale Order with non Service product with Quantity > 1.
3. Click on Add Shipping button and choose one with a Vehicle.
4. Confirm Sale Order.
5. Vehicle was automatically assigned in picking from selected Carrier.
6. You can change the Vehicle without changing the Carrier.

Stock Flow
----------

1. Go to Inventory > Operations > Transfers > Deliveries.
2. Create new Transfer.
3. Choose a Carrier.
4. The Vehicle is automatically assigned.
5. You can change the Vehicle without changing the Carrier.

Batch Flow
----------

1. Add multiple Transfers that has Vehicles to a Batch.
2. The Vehicle is selected based on the most repeated in the Transfers.
3. The Driver is selected based on the most repeated in the Transfers.

Auto Batch Flow
---------------

1. Go to Inventory > Configuration > Operation Types.
2. Select an operation type.
3. Activate Automatic Batches.
4. Choose Vehicle and/or Driver in the batch grouping.
5. Create and confirm pickings with the same vehicle/driver.
6. The pickings are batched automatically depends their vehicle/driver.

Known issues / Roadmap
======================

- Auto waves by vehicle and drivers.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/delivery-carrier/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/delivery-carrier/issues/new?body=module:%20stock_fleet_delivery_driver%0Aversion:%2018.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
-------

* Moduon

Contributors
------------

- Eduardo de Miguel (`Moduon <https://www.moduon.team/>`__)
- Emilio Pascual (`Moduon <https://www.moduon.team/>`__)

Maintainers
-----------

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
   :alt: Odoo Community Association
   :target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

.. |maintainer-Shide| image:: https://github.com/Shide.png?size=40px
    :target: https://github.com/Shide
    :alt: Shide
.. |maintainer-rafaelbn| image:: https://github.com/rafaelbn.png?size=40px
    :target: https://github.com/rafaelbn
    :alt: rafaelbn
.. |maintainer-EmilioPascual| image:: https://github.com/EmilioPascual.png?size=40px
    :target: https://github.com/EmilioPascual
    :alt: EmilioPascual

Current `maintainers <https://odoo-community.org/page/maintainer-role>`__:

|maintainer-Shide| |maintainer-rafaelbn| |maintainer-EmilioPascual| 

This module is part of the `OCA/delivery-carrier <https://github.com/OCA/delivery-carrier/tree/18.0/stock_fleet_delivery_driver>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
