OdooWiki OCA HUB

Stock account moves with Operating Unit

stock_account_operating_unit folder_open OCA/operating-unit open_in_new
Generic Modules/Sales & Purchases License: LGPL-3

This module introduces the following features:

  • Creates account move lines when stock moves are posted between internal locations within the same company, but different OU’s.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

When a stock move happens between two internal locations that belong to different operating units, this module automatically creates and posts a journal entry so each operating unit keeps its own accounting. It also blocks moves that would mix different source and destination accounts across operating units.

This module extends stock moves so that internal transfers between locations with different operating units are reflected in accounting.

  • When a product is set to real-time valuation and a move goes from one internal location to another inside the same company but with a different operating unit on each side, Odoo automatically creates and posts a journal entry. The entry is labelled with the product name followed by "OU Move" and references the transfer document.
  • The generated journal entry lines are tagged with the correct operating unit: the destination operating unit for the debit line and the source operating unit for the credit line. If the move has no operating unit on either side, the operating unit of the warehouse linked to the transfer type is used instead.
  • If a move would involve separate source and destination accounts that belong to different operating units, Odoo raises a user error and refuses to create the move. This prevents accounting entries that would mix operating units across accounts.

The module works together with the stock operating unit, accounting operating unit and stock accounting features. It touches the stock move process and the accounting journal entries created from stock valuation.

Models and fields (1)
  • stock.move · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 15.0

Confirmed on 2026-11-03 in branch 15.0 of OCA/operating-unit.

terminal Installation and usage

OCA documentation · Odoo 15.0

Create stock moves between internal locations within the same company, but different OU’s. The journal entries are created and they are self-balanced within the OU when the journal entries are posted

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.