Metadata-Version: 2.1
Name: odoo12-addon-purchase_sale_inter_company
Version: 12.0.1.3.2.99.dev1
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 :: 12.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Requires-Python: >=3.5
Requires-Dist: odoo12-addon-account-invoice-inter-company
Requires-Dist: odoo<12.1dev,>=12.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:d8e4b06b25043463d353d5c8e347bbcd8d0cf18891b4d72984a597c72882345f
   !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

.. |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/12.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-12-0/multi-company-12-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=12.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 B from a purchase order in company A.
It also allows to create a purchase order in company A from a sale order in company B.

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

* Company A purchase 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.

Equally, purchase orders can be created:

* Company B sells goods to company A.
* Company B will create a sale order with company A as customer.
* This module automates the creation of the purchase order in company A with company B as supplier.

**Table of contents**

.. contents::
   :local:

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

To configure this module, you need to:

- go to the menu *Settings > General settings > Multi-companies > Inter Company OCA features*.

Then

- Select *Sale from purchase*.
- Select the *Warehouse For Sale Orders*, it is the warehouse that will be used to automatically generate the sale order.
- If you check the option *Sale Auto Validation* in the configuration of company B, then when you validate a *Purchase Order* in company A with company B as supplier, the *Sale Order* will be automatically validated in company B with company A as customer.

or

- Select *Purchase from sale*.
- Select the *Picking type for Purchase Orders*, it is the picking type that will be used to automatically generate the purchase order.
- If you check the option *Purchase Orders Auto Validation* in the configuration of company A, then when you validate a *Sale Order* in company B with company A as customer, the *Purchase Order* will be automatically validated in company A with company B as supplier.

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:%2012.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>
* `TAKOBI <https://takobi.online>`_:

  * Lorenzo Battistini
* `Tecnativa <https://www.tecnativa.com>`_:

  * Carlos Dauden
  * Jairo Llopis
* Mourad EL HADJ MIMOUNE <mourad.elhadj.mimoune@akretion.com>

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/multi-company <https://github.com/OCA/multi-company/tree/12.0/purchase_sale_inter_company>`_ project on GitHub.

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