Repository
OCA/operating-unit · module folder · Try on Runboat
Module version
1.0.1
Category
Accounting & Finance
Folder size
0.12 MB
License
LGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/operating-unit
Last tracking update
2026-08-07 09:06:27
Authors
Odoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., ForgeFlow, WilldooIT Pty Ltd
Maintainers
Odoo Community Association (OCA), Serpent Consulting Services Pvt. Ltd., ForgeFlow, WilldooIT Pty Ltd
Committers
jcoux, Vincent Van Rossem, OCA-git-bot, oca-ci
Odoo dependencies
Python dependencies
None
System dependencies
None
Required by
sale_operating_unit
Description
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.

Code Analysis

Views touched (12)
XML IDNameModelTypeStatus
view_account_invoice_filter account.invoice.select account.move Inherits account.view_account_invoice_filter
view_account_invoice_report_search account.invoice.report.search account.invoice.report search Inherits account.view_account_invoice_report_search
view_account_journal_form account.journal.form account.journal form Inherits account.view_account_journal_form
view_account_move_line_filter Journal Items account.move.line Inherits account.view_account_move_line_filter
view_account_payment_form account.payment.form account.payment form Inherits account.view_account_payment_form
view_account_payment_search account.payment.search account.payment search Inherits account.view_account_payment_search
view_account_payment_tree account.payment.tree account.payment tree Inherits account.view_account_payment_tree
view_company_form res.company.form res.company form Inherits base.view_company_form
view_invoice_tree account.invoice.tree account.move tree Inherits account.view_invoice_tree
view_move_form account.move.form account.move form Inherits account.view_move_form
view_move_line_form account.move.line.form account.move.line form Inherits account.view_move_line_form
view_move_line_tree account.move.line.tree account.move.line tree Inherits account.view_move_line_tree
HTTP endpoints (0)

No HTTP endpoints found for this module.

Models touched (8)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    comodel_name='operating.unit' string='Operating Unit'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit' help='Operating Unit that will be used in payments, when this journal is used.'
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit' compute='_compute_operating_unit' default=<expr> help='This operating unit will be defaulted in the move lines.' readonly=False store=True
Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit'
Public methods (2)
  • create(self, vals_list)
    @api.model_create_multi
  • reconcile(self)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (1)
  • operating_unit_id Many2one → operating.unit
    check_company=True comodel_name='operating.unit' compute='_compute_operating_unit_id' store=True
Public methods (0)

No public methods.

New fields (2)
  • inter_ou_clearing_account_id Many2one → account.account
    comodel_name='account.account' string='Inter-operating unit clearing account'
  • ou_is_self_balanced Boolean
    help='Activate if your company is required to generate a balanced balance sheet for each operating unit.' string='Operating Units are self-balanced'
Public methods (0)

No public methods.

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…

Loading…