Warehouse Average Cost - Warehouse Wise Cost and Average Costing per Warehouse
by Modvanta https://modvantaapps.tech$ 38.89

One average cost for every warehouse, and the ledger to match
Each warehouse keeps its own AVCO. Receipts and landed costs raise only the warehouse that received the goods, deliveries and COGS take the cost of the warehouse that shipped them, and transfers carry the source cost. Give each warehouse its own stock account and the balance sheet shows stock by warehouse.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Odoo 19 keeps one average cost per product for the whole company. When the same product is bought at different prices for different sites, or one site pays more freight and duty, that single average hides what the stock in each warehouse really cost, and every warehouse ships at the same blended cost.
This module keeps the average cost per product and per warehouse. A receipt, a vendor bill, a landed cost, a customer return or an inventory gain changes the average of the receiving warehouse only. A delivery is valued at the cost of the warehouse it leaves, and the customer invoice books its COGS at that value. An inter-warehouse transfer moves the value at the source warehouse cost, directly or through a transit location.
Optionally set a stock account on each warehouse. Vendor bills, COGS lines, landed costs, inventory adjustments, transfers and the Odoo stock closing then use it, so the account balance of each warehouse equals its stock value. The valuation report shows both side by side.
Who it is for
Distributors with several sites The same item bought locally at different prices, or imported into one hub and moved on to branches. | Importers paying landed costs Freight, duty and handling that belong to the warehouse that received the container, not to every site. | Controllers and accountants Stock and COGS by warehouse in the ledger, a valuation at any date, and an audit trail of every cost change. |
Key features
All screenshots were taken on Odoo 19 with this module installed on a demo database (Northwind Trading Co, US dollars) with three warehouses and their own stock accounts.
Feature 1
Warehouse costs at a glance
Every product with its quantity, average cost and value in each warehouse, grouped by product, warehouse or category. Transit stock has its own line.

Feature 2
Warehouse Costs tab on the product
The product form lists its cost per warehouse. Adjust Warehouse Cost opens a cost adjustment with one line per warehouse.

Feature 3
Valuation by warehouse
Pivot and graph of value and quantity by product and warehouse.

Feature 4
Cost change history
One line per receipt, delivery, return, transfer leg, inventory adjustment and cost adjustment, with quantity, value change, old and new cost and the result. A later bill or landed cost replays the history from the receipt date.

Feature 5
COGS from the shipping warehouse
The customer invoice credits the stock account of the warehouse that delivered, at its own average cost. Credit notes for returns debit it back at the delivery cost.

Feature 6
Inter-warehouse transfer entry
A transfer between warehouses with different stock accounts posts one entry that moves the value at the source warehouse cost.

Feature 7
Landed costs per warehouse
Landed costs on a receipt raise only that warehouse average and debit its stock account. Landed costs can also be put on an inter-warehouse transfer.

Feature 8
Valuation report with ledger check
Summary by warehouse, detail by product or a warehouse comparison, at any date, on screen, in PDF or Excel. The summary shows the warehouse stock account balance and the difference.

Feature 9
Cost adjustments with approval
Change the cost of a product in one warehouse with a reason. With approval on, a costing user submits and a costing manager approves; the value change is posted to the warehouse stock account.

Feature 10
Costing dashboard
Products in stock, warehouses, categories, total value, value by warehouse, recent cost changes, items selling below their warehouse cost, and adjustments waiting approval.

Feature 11
Start with stock on hand
The start wizard opens each warehouse at the current company cost, so the stock value does not change on day one, and moves that value to the warehouse stock accounts.

Feature 12
Settings and warehouse account
Switch on per company, ask for approval of adjustments, and choose the AVCO categories. Each warehouse can carry its own stock account.

How it works, step by step
| 1 | Install the module It uses Inventory, Purchase, Sales and Landed Costs from Odoo. |
| 2 | Switch it on Inventory -> Configuration -> Settings -> Valuation -> Warehouse Average Cost. |
| 3 | Optional: a stock account per warehouse Inventory -> Configuration -> Warehouses -> Warehouse Stock Account. |
| 4 | Start warehouse costing Inventory -> Configuration -> Start Warehouse Costing: choose the AVCO categories, preview the opening and confirm. |
| 5 | Work as usual Buy into each warehouse, sell from each warehouse, transfer between them and add landed costs: every warehouse keeps its own average. |
| 6 | Report and close Inventory -> Reporting -> Warehouse Costing: dashboard, costs, history and the valuation report. |
Settings
| Warehouse Average Cost (company) | Switches warehouse costing on for the company. |
| Cost per Warehouse (product category) | For categories with Average Cost (AVCO). Set by the start wizard when the category already has stock. |
| Approve Warehouse Cost Adjustments | Adjustments by costing users wait for a costing manager. |
| Warehouse Stock Account (warehouse) | Optional. Used for the stock of that warehouse with perpetual valuation; periodic valuation uses it at the stock closing. |
| Access rights | Warehouse Costing User (see costs, request adjustments) and Manager (approve, start, recompute). |
Frequently asked questions
Does it change Odoo valuation for every product?
No. Only storable products in AVCO categories marked Cost per Warehouse, in companies where it is switched on. FIFO, standard cost and lot-valuated products keep the Odoo valuation.
What happens to the stock I already have?
The start wizard opens every warehouse at the current company cost, so the value of your stock is the same before and after. From then on the warehouses move apart with each receipt.
Does the ledger match the stock value per warehouse?
With a stock account on each warehouse, bills, COGS, landed costs, transfers and inventory adjustments are posted to it. The tests check that every warehouse account balance equals its stock value after purchases, sales, transfers, returns and landed costs, and that the Odoo stock closing then has nothing left to post.
What if a bill arrives after the goods were sold?
The history is replayed from the receipt date with the billed value. As in Odoo, the price difference on goods already sold is settled by the stock closing.
Does it work with several companies and currencies?
Yes. Costs are kept per company with record rules, and bills in another currency are valued in the company currency.
Can a warehouse be chosen on each purchase order line?
No. As in Odoo, a purchase order receives into the warehouse chosen in Deliver To; use one order per warehouse.
Compatibility
Odoo 19 Community and Enterprise | Depends on Inventory, Purchase, Sales, Landed Costs | Tested 47 automated tests |
Know what the stock in each warehouse really cost
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by email |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Purchase (purchase) • Invoicing (account) • Inventory (stock) |
| Lines of code | 2569 |
| Technical Name |
mdv_warehouse_average_cost |
| License | OPL-1 |
| Website | https://modvantaapps.tech |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module