Advanced Stock at Date — Dolibarr module

Turn Dolibarr’s “Stock at date” page into a tool you can actually close a period with.


What it changes

The native page answers one question — how many units did I hold on that day — and stops there. Three things are added to it:

  • a Cost price column, valued at the stock of the date you chose, not at today’s stock;
  • four totals above the list: weighted average price valuation, cost price, sale value and current stock;
  • a Hide products at 0 with no movement checkbox, so a catalogue of several thousand references stays readable.

Using it

Go to Products → Stock → Stock at date, pick your date, and the page behaves as before plus the new column and the totals. The checkbox is on the page itself, so you can switch the noise on and off while you work.

Configuration

The module has a single setting: the starting state of the “hide products at 0” checkbox. Set it to what your team needs most often; anyone can still flip it on the page.

Good to know

  • No core file is modified. Everything goes through the native hooks of the stockatdate context, so a Dolibarr upgrade never has to be re-patched.
  • Totals are computed by the database, not in PHP: the page stays usable on very large catalogues.
  • The cost price column reflects the dated stock — comparing it with a current-stock figure elsewhere is expected to differ.

Requirements

  • Dolibarr 20.0 or later, PHP 7.4 or later
  • The native Stocks module

Install it

In Dolibarr, go to Home → Setup → Modules/Applications → Deploy/install external module and upload the zip you downloaded from your account. Then enable Advanced Stock at Date in the module list — it appears in the Pichisoft (Pichinov) family.

If your host has locked that screen (an install.lock file, or production mode), unzip the archive into htdocs/custom/ over FTP instead. The folder must be named advancedstockatdate.

Activate your licence

Open the module configuration, then the Licence tab, paste the key you received by email and click Activate. That is all: the domain and the installation are recorded at that moment.

The module works fully without a key. What a licence brings is the signed updates and the support. When the subscription ends, the module keeps working exactly as before — only new versions stop being delivered.

Update it

The Licence tab tells you when a new version is available and installs it in one click, after backing up the current one. The decision is always yours: nothing is ever installed automatically.

Get help

The About tab has a Contact support button. It opens a form that carries the technical context of your installation — versions, environment, licence state, and no business data. You can read exactly what is sent before sending it.