Metadata-Version: 2.1
Name: odoo-addon-account_operating_unit
Version: 17.0.1.3.0
Requires-Python: >=3.10
Requires-Dist: odoo-addon-analytic_operating_unit>=17.0dev,<17.1dev
Requires-Dist: odoo-addon-base_view_inheritance_extension>=17.0dev,<17.1dev
Requires-Dist: odoo>=17.0a,<17.1dev
Summary: Introduces Operating Unit (OU) in invoices and Accounting Entries with clearing account
Home-page: https://github.com/OCA/operating-unit
License: LGPL-3
Author: ForgeFlow, Serpent Consulting Services Pvt. Ltd.,WilldooIT Pty Ltd,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 Lesser General Public License v3 (LGPLv3)
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

===============================
Accounting with Operating Units
===============================

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

.. |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-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%2Foperating--unit-lightgray.png?logo=github
    :target: https://github.com/OCA/operating-unit/tree/17.0/account_operating_unit
    :alt: OCA/operating-unit
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
    :target: https://translation.odoo-community.org/projects/operating-unit-17-0/operating-unit-17-0-account_operating_unit
    :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/operating-unit&target_branch=17.0
    :alt: Try me on Runboat

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

This module allows a company to manage the accounting based on Operating
Units (OU's).

- The financial reports (Trial Balance, P&L, Balance Sheet), allow to
  report the balances of one or more OU's.
- If a company wishes to report Balance Sheet and P&L accounts based on
  OU's, they should indicate at company level that the OU's are
  self-balanced, and the corresponding Inter-Operating Unit clearing
  account. The Chart of Accounts will always be balanced, for each
  Operating Unit.
- A company considering Operating Unit as applicable to report only
  profits and losses will not need to set the OU's as self-balanced.
- The self-balancing of Operating Unit is ensured at the time of posting
  a journal entry. In case that the journal involves posting of items in
  separate Operating Units, new journal items will be created, using the
  Inter-Operating Unit clearing account, to ensure that each OU is going
  to be self-balanced for that journal entry.
- Adds the Operating Unit to the invoice. A user can choose what OU to
  create the invoice for.
- Adds the Operating Unit to payments and payment methods. The operating
  unit of a payment will be that of the payment method chosen.
- Implements security rules at OU level to invoices, payments and
  journal items.
- Adds the Operating Unit to the cash basis journal entries.

**Table of contents**

.. contents::
   :local:

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

If your company is required to generate a balanced balance sheet by
Operating Unit you can specify at company level that Operating Units
should be self-balanced, and then indicate a self-balancing clearing
account.

1. Create an account "Inter-OU Clearing". It is a balance sheet account.
2. Go to *Settings / Companies / Configuration* and Set the "Operating
   Units are self-balanced" checkbox. Then set the "Inter-OU Clearing"
   account in "Inter-Operating Unit clearing account" field.
3. Go to *Accounting / Configuration / Accounting / Journals* and
   define, for each Payment Method, the Operating Unit that will be used
   in payments.

Usage
=====

- Add the Operating Unit to invoices.
- Report invoices by Operating Unit in *Accounting / Reporting*
  *Business Intelligence / Invoices*
- Add the Default Operating Unit to account move. Then all move lines
  will by default adopt this Operating Unit.
- Add Operating Units to the move lines. If they differ across lines of
  the same move, and the OU's are self-balanced, then additional move
  lines will be created so as to make the move self-balanced from OU
  perspective.
- In the menu *Accounting / Reporting / PDF Reports*, you can indicate
  the Operating Units to report on, for the *Trial Balance*, *Balance
  Sheet*, *Profit and Loss*, and *Financial Reports*.

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

- The *General Ledger*, *Aged Partner Balance* reports do not support
  the filter by Operating Unit. Basically due to lack of proper hooks in
  the standard methods used by these reports, to introduce the ability
  to filter by Operating Unit.
- Trial Balance, P&L and Balance Sheet were removed from Odoo Community.
  Once OCA Financial Reports are migrated to 13 we can add the Operating
  Unit to those reports.

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

Bugs are tracked on `GitHub Issues <https://github.com/OCA/operating-unit/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/operating-unit/issues/new?body=module:%20account_operating_unit%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
-------

* ForgeFlow
* Serpent Consulting Services Pvt. Ltd.
* WilldooIT Pty Ltd

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

- ForgeFlow <contact@forgeflow.com>
- Jordi Ballester Alomar <jordi.ballester@forgeflow.com>
- Aarón Henríquez <ahenriquez@forgeflow.com>
- Serpent Consulting Services Pvt. Ltd. <support@serpentcs.com>
- WilldooIT Pty Ltd <info@willdooit.com>
- Michael Villamar <michael.villamar@willdooit.com>
- Jarsa Sistemas <info@jarsa.com.mx>
- Alan Ramos <alan.ramos@jarsa.com.mx>
- Saran Lim. <saranl@ecosoft.co.th>
- Pimolnat Suntian <pimolnats@ecosoft.co.th>
- Hieu, Vo Minh Bao <hieu.vmb@komit-consulting.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/operating-unit <https://github.com/OCA/operating-unit/tree/17.0/account_operating_unit>`_ project on GitHub.

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