Inventory at date with totals
Stock report with totals of units and warehouse valuation at the chosen date (for the whole inventory, not just the page), subtotals when grouping, «With stock at the date» filter, product image and Excel of the inventory with formulas, subtotals, chart and several sheets.
- Technical name
gerp_stock_fecha- Author
- GestioERP · SIAM Cloud

What this module does
Completes the Inventory Stock report: what it is worth and how many units are in the warehouse on the date you choose, with totals for the whole inventory (not only the page you see), subtotals when grouping and a complete Excel.
- Open Inventory › Reports › Stock.
- Choose the date with the «Inventory at date» button (and, if you want, a specific warehouse).
- At the top a strip appears with the totals of units and valuation at that date.
- Group by category or by whatever you like: each group shows its subtotal.
- With «Ocultar sin stock» you remove products at zero and with «Excel» you download the inventory with formulas.
The totals strip
A fixed bar above the list that adds up everything in the search, even if there are thousands of products and the list shows only a few per page.
- The inventory date (or «Inventory as of today» if you have not chosen any) and how many products are in the search and how many have stock at that date.
- Total units in the warehouse at the date, of all the products in the search.
- Available units (without the reserved ones). Hidden on narrow screens.
- Total valuation of the warehouse at the date, in the company's currency. Only what has stock is valued.
- «Hide out of stock» / «Show also out of stock» toggles the filter for products at zero; «Excel» downloads the inventory (only if you have that permission).
- The usual list of the Stock report, now with a product image column (optional). The totals at the bottom of the list are also those of the whole search; if you tick rows, it sums only the ticked ones again.
Subtotals when grouping
When grouping by category or another field, each group shows the sum of units and of value, just like in a spreadsheet.
- The «With stock at date» filter hides products with zero quantity; the search box and the normal filters keep working and are respected in the totals.
- Each group row adds up its products: stock, available, incoming, outgoing and total value.
- Open a group to see its products. Subtotals are calculated in batches on the server, without querying product by product, so they stay fast with large catalogues.
Inventory Excel
The «Excel» button downloads the inventory on the date with whatever you have filtered and searched, ready to review and share.
- Enter the date and the filters you want in the Stock report.
- Press «Excel» in the totals strip: the workbook is downloaded with the chosen warehouse and date.
- If the button does not appear, the «Inventory at date in Excel» permission is missing in Internal users.
- Three sheets. «Inventory»: one row per product with a subtotal per category and a grand total. «By category»: products, with stock, units, value and percentage of the value of each one. «Summary»: company, warehouse, date, products, units and total valuation.
- The value of each row is a formula (stock × unit cost), the subtotals and the total use SUBTOTAL, and there are filters and frozen panes. The product photo appears as a thumbnail, and the rows have a blank line before and after each subtotal.
- In «By category» there is a bar chart with the value per category.
Which account and how it is valued
Some details that help interpret the figures.
- The quantities (real stock, available, incoming, outgoing) and the value are calculated at the chosen date: they are not saved, they are recalculated on opening.
- Only what has stock at that date is valued; a product with zero quantity is worth zero.
- The unit cost in the Excel is the total value divided by the units; if there are no units, the cost of the product.
- Kits count by their components, and products that have never moved are worth zero without being calculated, to go faster.
- Only the Stock report changes: the rest of the product screens stay as they are.
Permissions
The report is seen by users with access to Inventory; the Excel is a separate button.
- In Internal users, inside the Warehouse dashboard, the «Inventory at date in Excel» button (almacen.inventario_excel) grants or removes the download.
- Without that permission the «Excel» button does not appear and the download is rejected, even if someone knows the address.
- When the module is installed, whoever already had the «Warehouse» permission also gets the Excel one.
Questions
- How do I see the warehouse value?
- Inventory › Reporting › Stock: above the list there is a strip with the units and the «Total value» of the warehouse. It is the sum of all items in the search, not just the visible page, as of the chosen date (or today).
- How do I see stock at a past date?
- In Inventory › Reporting › Stock, use the «Inventory at date» button in the header and choose the date. Quantities and value are recalculated for that moment and the totals strip shows «Inventory at» with the date. To return to today, clear the date.
- Why isn't the total just the page?
- Odoo normally only sums what is loaded on screen. Here the server calculates all items matching the filters and search at once, and the strip and list footer show that total. If you tick rows, the footer sums only the selected ones.
- How do I see subtotals by category?
- In the Stock report, use «Group by» and choose Product category (or anything else): each group shows the sum of on-hand, available, incoming, outgoing and total value. Subtotals are calculated in batches so large catalogues stay fast.
- How do I hide items with no stock?
- Press «Hide out of stock» in the totals strip, or enable the «With stock at date» filter in the search: it removes items whose quantity at that date is zero. The button changes to «Show out of stock too» to undo it.
- How do I download the inventory in Excel?
- In the Stock report, press «Excel» in the totals strip. A workbook downloads with the current date, warehouse, filters and search and three sheets: Inventory (with formulas, category subtotals, total, filters and item thumbnail), By category (with chart) and Summary.
- What sheets does the Excel have?
- «Inventory»: Photo, Reference, Product, Category, Unit, On hand, Available, Incoming, Outgoing, Unit cost and Total value. «By category»: items, with stock, on hand, value and % of value, plus a bar chart. «Summary»: company, warehouse, date, items, units and total warehouse valuation.
- Why don't I see the Excel button?
- The button is a separate permission: in Internal users, in the Warehouse panel, tick «Inventory at date in Excel». Without it the button is hidden and the download is refused. Those who already had «Warehouse» when the module was installed got it automatically.