OdooWiki OCA HUB

Romania - Stock Accounting Landed Cost

l10n_ro_stock_account_landed_cost folder_open OCA/l10n-romania open_in_new
Localization License: AGPL-3

Extend Odoo standard functionality for landed costs to add also distribution of costs to stock moves reserved from actual

auto_awesome What this module does

AI-generated from the code · Odoo 20.0

Extends Odoo landed costs for Romanian companies so extra purchase costs (like transport) are spread over the later stock moves that actually consumed the goods, with the matching accounting entries created automatically.

This module adapts the standard landed cost feature for Romanian accounting. On a landed cost record it adds a 'Landed Cost Type' field and a checkbox that decides whether the cost is spread only on the follow-up stock moves instead of the original receipt.

When the cost is computed, the module follows the chain of destination moves of each receipt and creates separate Romanian valuation adjustment lines for every destination move, splitting the amount by the quantities actually consumed. These lines are shown in a new 'Romania - Distributed Valuation Lines' tab on the landed cost form, and a 'Not Distributed Amount' column appears on the standard adjustment lines.

On validation, the value of the destination moves is updated, and accounting entries are generated using the Romanian stock move type accounts. For certain reception types (notice, in progress) and usage giving moves, extra journal entries are posted automatically. If a Romanian stock move type is missing, the user gets an error.

When a landed cost is created from a vendor bill, the module fills in the related done receipts and copies the expense account from the invoice line. Stock move valuation also includes the distributed landed costs in its value and description.

Depends on

Models and fields (5)
  • stock.move · extends an existing model
  • account.move · new model
  • stock.landed.cost · new modell10n_ro_cost_type (Landed Cost Type), l10n_ro_only_on_distributed_lines, l10n_ro_distributed_valuation_lines (Romania - Distributed Valuation Lines)
  • stock.valuation.adjustment.lines · new modell10n_ro_not_distributed_amount (Not Distributed Amount), l10n_ro_distributed_valuation_lines (Romania - Distributed Valuation Lines)
  • l10n.ro.stock.valuation.adjustment.lines · new modelorigin_line_id (Origin Adjustment Line)

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

Sources · Odoo 20.0

Confirmed on 2026-11-03 in branch 20.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.