Metadata-Version: 2.1
Name: odoo12-addon-account-bill-line-distribution
Version: 12.0.1.0.0.99.dev23
Summary: Distribute AP Invoices across multiple companies
Home-page: https://github.com/OCA/multi-company
Author: Open Source Integrators, Odoo Community Association (OCA)
Author-email: support@odoo-community.org
License: AGPL-3
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Framework :: Odoo
Classifier: Framework :: Odoo :: 12.0
Classifier: License :: OSI Approved :: GNU Affero General Public License v3
Classifier: Development Status :: 4 - Beta
Requires-Python: >=3.5
Requires-Dist: odoo12-addon-account-invoice-consolidated
Requires-Dist: odoo <12.1dev,>=12.0a

==============================
Account Bill Line Distribution
==============================

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

.. |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/account_bill_line_distribution
    :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-account_bill_line_distribution
    :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|

Odoo Accounting allows to create vendor bills and 100% of the expense is
accounted in the current company. Some holding needs to be able to distribute
some vendor bills (like rent) across multiple children companies.

**Table of contents**

.. contents::
   :local:

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

* Go to *Settings > General Settings*
* Go to the section *Multi-Companies* to check *Multi-companies*
* For each company

  * Go to *Accounting > Configuration > Settings*
  * Install the chart of accounts
  * Go to *Accounting > Configuration > Accounting > Chart of Accounts*
  * Create 2 accounts *Due To* (Current Liabilities) and *Due From* (Current Assets)
  * Go to *Accounting > Configuration > Accounting > Journals*
  * Create a bank journal *Due To/Due From*
  * Go to *Settings > User & Companies > Companies*
  * Select the current company
  * Go to the *Inter-Company Payment Configuration* tab
  * Set the fields with the accounts and journal previsouly created

Usage
=====

* Go to *Accounting > Vendors > Bills*
* Create a new bill
* Select the vendor
* Add a line:

  * Select the product and set the quantity
  * Create the distribution by adding lines with a company and its percentage

* Validate the invoice

In the current company, an additional journal entry is created in the Due
To/Due From journal:

+---------------+-----------+--------+--------+
| Account       | Partner   | Debit  | Credit |
+===============+===========+========+========+
| Rent          | Company 2 |        | 180    |
+---------------+-----------+--------+--------+
| Due From      | Company 2 | 180    |        |
+---------------+-----------+--------+--------+

In the other company, a journal entry is created in the Due To/Due From
journal:

+---------------+---------------+--------+--------+
| Account       | Partner       | Debit  | Credit |
+===============+===============+========+========+
| Due To        | YourCompany   |        | 180    |
+---------------+---------------+--------+--------+
| Rent          | Company 2     | 180    |        |
+---------------+---------------+--------+--------+

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:%20account_bill_line_distribution%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
~~~~~~~

* Open Source Integrators

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

* Open Source Integrators <https://www.opensourceintegrators.com>

  * Steven Campbell <scampbell@opensourceintegrators.com>
  * Maxime Chambreuil <mchambreuil@opensourceintegrators.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.

.. |maintainer-max3903| image:: https://github.com/max3903.png?size=40px
    :target: https://github.com/max3903
    :alt: max3903
.. |maintainer-osi-scampbell| image:: https://github.com/osi-scampbell.png?size=40px
    :target: https://github.com/osi-scampbell
    :alt: osi-scampbell

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

|maintainer-max3903| |maintainer-osi-scampbell| 

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

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


