Metadata-Version: 2.1
Name: odoo14-addon-purchase_sale_inter_company
Version: 14.0.2.3.3
Summary: Intercompany PO/SO rules
Home-page: https://github.com/OCA/multi-company
Author: Odoo SA, Akretion, Tecnativa, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 14.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.6
Requires-Dist: odoo14-addon-account-invoice-inter-company
Requires-Dist: odoo<14.1dev,>=14.0a

===============================================
Inter Company Module for Purchase to Sale Order
===============================================

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

.. |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/licence-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%2Fmulti--company-lightgray.png?logo=github
    :target: https://github.com/OCA/multi-company/tree/14.0/purchase_sale_inter_company
    :alt: OCA/multi-company
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/multi-company-14-0/multi-company-14-0-purchase_sale_inter_company
    :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/multi-company&target_branch=14.0
    :alt: Try me on Runboat

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

This module is useful if there are multiple companies in the same Odoo database and those companies sell goods or services among themselves.

It allows to create a sale order in company A from a purchase order in company B, and keep delivery/receipt pickings synced, including backorders.

When Company A sends a product tracked by lot or serial number, a new lot/serial number with the same name is created in Company B to match it, if one doesn't already exist.

**Table of contents**

.. contents::
   :local:

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

Imagine you have company A and company B in the same Odoo database:


Company A purchases goods from company B.

Company A will create a purchase order with company B as supplier.

This module automates the creation of the sale order in company B with company A as customer.

Receipt picking(s) created from Company A purchase are synced with quantities delivered in picking(s) by Company B sale.

Usage
=====

Create a purchase with Company A, setting Company B as vendor > confirm PO > a SO for Company B with customer Company A is created automatically.


Validate SO for Company B > validate delivery picking > in PO for Company A, receipt picking is validated with quantities from Company B delivery picking.

If backorders have been created from delivery picking, they will be synchronized to receipt picking.

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

* No synchronization is made from the generated sale order back to the purchase order.
  This would be interesting in the case of price changes and discounts, that would be
  transmitted to the purchase so both documents couldn't have different total amounts,
  taxes, etc. A mechanism for synching from the sale to the purchase order would be
  needed.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/multi-company/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/multi-company/issues/new?body=module:%20purchase_sale_inter_company%0Aversion:%2014.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
~~~~~~~

* Odoo SA
* Akretion
* Tecnativa

Contributors
~~~~~~~~~~~~

* Odoo S.A.
* Chafique Delli <chafique.delli@akretion.com>
* Alexis de Lattre <alexis.delattre@akretion.com>
* Lorenzo Battistini <lorenzo.battistini@agilebg.com>
* `Tecnativa <https://www.tecnativa.com>`_:

  * Carlos Dauden
  * Jairo Llopis
* Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>
* `PyTech SRL <info@pytech.it>`_:

  * Alessandro Uffreduzzi <alessandro.uffreduzzi@pytech.it>

* Ooops404 <info@ooops404.com>

  * Francesco Foresti <francesco.foresti@ooops404.com>
  * Eduard Brahas <eduardbrhas@outlook.it>

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-aleuffre| image:: https://github.com/aleuffre.png?size=40px
    :target: https://github.com/aleuffre
    :alt: aleuffre
.. |maintainer-renda-dev| image:: https://github.com/renda-dev.png?size=40px
    :target: https://github.com/renda-dev
    :alt: renda-dev

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

|maintainer-aleuffre| |maintainer-renda-dev| 

This module is part of the `OCA/multi-company <https://github.com/OCA/multi-company/tree/14.0/purchase_sale_inter_company>`_ project on GitHub.

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