OdooWiki OCA HUB

Romania stock account tracing

l10n_ro_stock_account_tracing folder_open OCA/l10n-romania open_in_new
Accounting License: AGPL-3

This module creates m2o relationships in journal items, for accounting entries related to stock move. Journal items receive m2o references for:

  • Picking type
  • Picking
  • Destination location
  • Source location
  • Valuation Type
  • Product category

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

Links accounting journal items to the stock moves, pickings, locations and valuation types they come from, so Romanian stock-related entries can be traced and analysed. Adds a pivot view on stock valuation layers by direction and valuation type.

This module enriches accounting entries with stock information so users can trace which stock operation produced each journal item.

On journal items (account.move.line) it adds stored references to the related stock move, picking, picking type, source location, destination location, product category and a valuation type text. These are filled automatically when the related invoice or bill is posted, and also when a stock valuation layer is linked to an invoice line.

On stock valuation layers it adds the picking, the picking type, a direction (Input or Output, based on whether the value is positive or negative) and an absolute value. A new pivot view on stock valuation layers lets users analyse quantity and value by accounting account, direction and valuation type; the standard valuation action now also offers tree, pivot, graph and form views.

On stock pickings it adds a computed total value of the valuation layers of their moves.

Business rules visible in the code: for refund invoices only returned moves are kept, otherwise returned moves are excluded; when a valuation layer is linked to an invoice line, the stock data is copied onto the invoice line and, if a synthetic counterpart line exists, onto the largest counterpart line as well.

Models and fields (4)
  • account.move · extends an existing model
  • stock.picking · extends an existing modelvalued_svl (Valoare)
  • account.move.line · extends an existing modell10n_ro_location_id (Romania Source Location), l10n_ro_valued_type (Romania Valued Type), l10n_ro_stock_move_id (Romania Stock Move), l10n_ro_location_dest_id (Romania Destionation Location), l10n_ro_stock_picking_id (Romania Picking), l10n_ro_link_stock_move_ids (Romania Stock Move Related), l10n_ro_product_category_id (Romania Product Category), l10n_ro_stock_picking_type_id (Romania Picking Type)
  • stock.valuation.layer · extends an existing modell10n_ro_abs_value (Romania Absolute Value), l10n_ro_direction (Romania Direction), l10n_ro_picking_id (Stock Picking), l10n_ro_picking_type_id (Picking Type)

Text generated by AI (DeepSeek) from reading the Odoo 14.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: 1 confirmed, 8 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/l10n-romania.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

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.