<commit_before>.. image:: https://img.shields.io/badge/license-AGPLv3-blue.svg
   :target: https://www.gnu.org/licenses/agpl.html
   :alt: License: AGPL-3

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

This module introduces the following features:
- Adds the Operating Unit in the account move line.
- Define an Inter-operating unit clearing account at company level.
- When users create a journal entry with lines in different operating units,
at the time of posting the journal entry it automatically creates the corresponding
lines in the Inter-operating unit clearing account, making each OU self-balancing.
- Introduces checks that prevent users from entering cross-operating unit
journal entries using different accounts.

Installation
============

No external library is used.

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

To configure this module, you need to:

* Create an account for "Inter-OU Clearing" of type Regular.
* Go to *Settings / Companies / Companies* and configure "Inter-OU Clearing" account
in "Inter-operating unit clearing account" field.

Usage
=====

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
   :alt: Try me on Runbot
   :target: https://runbot.odoo-community.org/runbot/213/7.0

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/213/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
213/issues/new?body=module:%20
operating_unit%0Aversion:%20
7.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.
<commit_msg>[IMP] Added account configuration in README.<commit_after>.. image:: https://img.shields.io/badge/license-AGPLv3-blue.svg
   :target: https://www.gnu.org/licenses/agpl.html
   :alt: License: AGPL-3

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

This module introduces the following features:
- Adds the Operating Unit in the account move line.
- Define an Inter-operating unit clearing account at company level.
- When users create a journal entry with lines in different operating units,
at the time of posting the journal entry it automatically creates the corresponding
lines in the Inter-operating unit clearing account, making each OU self-balancing.
- Introduces checks that prevent users from entering cross-operating unit
journal entries using different accounts.

Installation
============

No external library is used.

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

To configure this module, you need to:

* Create an account for "Inter-OU Clearing" of type Regular.
* Go to *Settings / Companies / Companies* and configure "Inter-OU Clearing" account
in "Inter-operating unit clearing account" field.
* Assign Operating Unit in Accounts.

Usage
=====

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
   :alt: Try me on Runbot
   :target: https://runbot.odoo-community.org/runbot/213/7.0

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

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/213/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed `feedback
<https://github.com/OCA/
213/issues/new?body=module:%20
operating_unit%0Aversion:%20
7.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Credits
=======

Images
------

* Odoo Community Association: `Icon <https://github.com/OCA/maintainer-tools/blob/master/template/module/static/description/icon.svg>`_.

{'fraction_non_alphanumeric': 0.1521076688674454, 'fraction_numerical': 0.0228542407313357, 'mean_word_length': 4.826923076923077, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 14, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1862116', 'n_tokens_mistral': 1217, 'n_tokens_neox': 1121, 'n_words': 380}