Metadata-Version: 2.1
Name: odoo-addon-stock_picking_carrier
Version: 17.0.1.0.0.2
Requires-Python: >=3.10
Requires-Dist: odoo>=17.0a,<17.1dev
Summary: Stock Picking Carrier
Home-page: https://github.com/OCA/stock-logistics-workflow
License: AGPL-3
Author: Binhex, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 17.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
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 Picking Carrier
=====================

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

.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
    :target: https://odoo-community.org/page/development-status
    :alt: Beta
.. |badge2| image:: https://img.shields.io/badge/license-AGPL--3-blue.png
    :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
    :alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fstock--logistics--workflow-lightgray.png?logo=github
    :target: https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_carrier
    :alt: OCA/stock-logistics-workflow
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/stock-logistics-workflow-17-0/stock-logistics-workflow-17-0-stock_picking_carrier
    :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/stock-logistics-workflow&target_branch=17.0
    :alt: Try me on Runboat

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

Manually configuring the carrier for each picking is inefficient,
especially when it's already predefined for the partner or their primary
partner. This add-on automates this process for companies and allows you
to choose whether or not to automate it, based on the type of operation.

**Table of contents**

.. contents::
   :local:

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

Configure auto assign carrier for company:
------------------------------------------

1. Go to Inventory > Configuration > Settings > Section Shipping

2. Find "Carrier auto assign" and enable it

   |ENABLE_AUTO_ASSIGN_CARRIER_FOR_COMPANY|

Please note that enabling this setting will activate the "Carrier auto
assign" option for all types of operations. If you do not wish to use it
for a particular type of operation, disable it.

Configure auto assign carrier for picking type:
-----------------------------------------------

1. Go to Inventory > Configuration > Operation types

2. Find "Carrier auto assign" and enable it

   |ENABLE_AUTO_ASSIGN_CARRIER|

.. |ENABLE_AUTO_ASSIGN_CARRIER_FOR_COMPANY| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_carrier/static/img/readme/enable_auto_assign_carrier_company.png
.. |ENABLE_AUTO_ASSIGN_CARRIER| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_carrier/static/img/readme/enable_auto_assign_carrier.png

Usage
=====

Configure shipping method in the contact
----------------------------------------

1. Go to Contacts or any other menu to access contacts.
2. Select the contact you want to configure the shipping method.
3. Go to the tab "Sales & Purchases" and select the shipping method.

|SHIPPING_METHOD_CONTACT|

Set shipping method on the picking
----------------------------------

1. Go to Inventory > Operations > Receipts

2. Create a new picking

3. Select the Receive From and the Shipping Method field will
   automatically be filled in on the Additional Information tab.

   |SHIPPING_METHOD_PICKING|

Set shipping method when creating a sales order
-----------------------------------------------

1. Go to Sales > Orders > Quotations

2. Create a new sale order

3. Add the partner, lines, and other necessary data, then confirm the
   sales order.

4. A picking will be created with the Carrier configured in the partner
   selected in the sales order.

   |SALE_SHIPPING_METHOD_PICKING|

Please note that for sections `Set shipping method on the
picking <#set-shipping-method-on-the-picking>`__ and `Set shipping
method when creating a sales
order <#set-shipping-method-when-creating-a-sales-order>`__, the order
of priority is as follows:

1. Delivery method of the primary contact (parent_id).
2. Delivery method of the contact.

.. |SHIPPING_METHOD_CONTACT| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_carrier/static/img/readme/configure_shipping_method_contact.png
.. |SHIPPING_METHOD_PICKING| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_carrier/static/img/readme/configure_shipping_method_picking.png
.. |SALE_SHIPPING_METHOD_PICKING| image:: https://raw.githubusercontent.com/OCA/stock-logistics-workflow/17.0/stock_picking_carrier/static/img/readme/configure_sale_shipping_method_picking.png

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/stock-logistics-workflow/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/stock-logistics-workflow/issues/new?body=module:%20stock_picking_carrier%0Aversion:%2017.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
-------

* Binhex

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

[Binhex] (https://www.binhex.cloud):

- Edilio Escalona Almira e.escalona@binhex.cloud

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.

This module is part of the `OCA/stock-logistics-workflow <https://github.com/OCA/stock-logistics-workflow/tree/17.0/stock_picking_carrier>`_ project on GitHub.

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