OdooWiki OCA HUB

Stock Valuation Layer Total Value

stock_valuation_layer_total_value folder_open OCA/stock-logistics-warehouse open_in_new
stock License: AGPL-3

This module shows the value of the original valuation layer after doing a landed cost.

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds two computed columns to stock valuation layers showing the total value and unit cost once landed-cost extra charges are included, plus a Child Layers tab on the layer form.

When you land extra costs (for example freight or customs) on a receipt, Odoo creates additional valuation layers linked to the original one. This module makes the combined picture visible directly on the original layer.

On the stock valuation layer form you get two new read-only fields next to the remaining quantity: "Total value (with additional costs)" and "New unit price (with additional costs)". A new "Child Layers" tab lists the linked layers that carry the extra costs.

In the valuation layer list view the same two fields are available as optional columns, so you can switch them on when you need them.

Both values are computed automatically and stored. The total is the layer's own value plus the value of all its child layers; the new unit price is that total divided by the layer quantity, or the layer's unit cost when the quantity is zero. If a layer has no child layers, the total equals its own value and the unit price equals its unit cost.

The module only extends stock.valuation.layer and its existing form and tree views; it adds no menus, buttons, reports or scheduled actions.

Depends on

stock_account
Models and fields (1)
  • stock.valuation.layer · extends an existing modelunit_price_with_extra_cost (New unit price (with additional costs)), total_value_with_additional_costs (Total value (with additional costs))

Text generated by AI (DeepSeek) from reading the Odoo 16.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 16.0

Confirmed on 2026-11-03 in branch 16.0 of OCA/stock-logistics-warehouse.

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module you need to:

1.- Generate a stock valuation layer (ex: create a purchase of the product) 2.- Generate another valuation layer that is linked to the first one (This can be done using landed cost) 3.- Now you have on the original valuation the original cost and the updated cost (the one generated on the second valuation)

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.