OdooWiki OCA HUB

Romania - Stock Accounting Price Difference

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

The module is managing price diferences between invoices and receptions. It will create a landed cost with a "Price Difference" product available in the configuration.

It only applies to FIFO products.

auto_awesome What this module does

AI-generated from the code · Odoo 20.0

When a Romanian vendor bill is posted at a price different from the reception, this module shows the differences in a confirmation dialog and, once confirmed, books the gap as a landed cost so the stock value matches the invoice.

This module is for Romanian companies that use stock valuation and receive goods before the vendor bill arrives. When a vendor bill (or vendor credit note) is posted, Odoo compares the value of the received goods with the value on the bill, line by line, for products valued at FIFO and received based on quantities.

If differences exist, a pop-up titled "Price Difference Confirmation" appears before the bill is posted. It lists, per invoice line, the product, the value difference and the quantity difference. The user can confirm or cancel.

On confirmation, the bill is posted and, for each line with a difference, Odoo automatically creates and validates a landed cost of a new type "Price Difference", using a dedicated service product (created automatically if the company has none configured). This adjusts the stock value instead of leaving the gap as an expense. If a price-difference landed cost was already booked for the same stock movement, it is not repeated.

  • Applies only to Romanian companies with the stock price difference option enabled.
  • Only FIFO products are handled; standard and average cost products are skipped.
  • The landed cost is split by quantity and uses the stock journal.
  • The new "Price Difference" cost type is added to landed costs and is forced to apply only on distributed lines.

It touches vendor bills (account.move), invoice lines (account.move.line) and landed costs (stock.landed.cost).

Depends on

l10n_ro_stock_account_landed_coststock_landed_costspurchase_stock
Models and fields (5)
  • account.move · extends an existing model
  • account.move.line · new model
  • stock.landed.cost · extends an existing modell10n_ro_cost_type
  • l10n_ro.price_difference_item · new modelqty_diff, invoice_id, product_id, value_diff, currency_id, stock_move_id, confirmation_id, invoice_line_id
  • l10n_ro.price_difference_confirm_dialog · new modelitem_ids, invoice_id

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: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 19.0

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