Skip to Content

MRP MPS Fast Search

In Odoo's Master Production Schedule, every click on a filter triggers a full recomputation of the replenishment states on all the planning lines — a process that can take tens of seconds on large databases. This module removes the wait by precomputing the replenishment flags and storing them in indexed fields, turning slow queries into simple instant lookups.

Who is it for

Manufacturing companies that use Odoo's MPS with large product catalogues or many planning lines, and find the replenishment filters too slow for everyday use.

How it works

  • Enable Fast Search in Manufacturing → Settings.
  • An hourly scheduled action automatically refreshes the replenishment state cache.
  • Filters such as To Replenish, Too Low and Too High query the precomputed fields instead of recomputing in real time.
  • A manual refresh menu is available for on-demand updates.

The result: the MPS replenishment filters respond in milliseconds, making large-scale production planning practical and efficient.

0.00 € 0.00 €

 Per maggiori info sui nostri moduli non esitare a contattarci

MRP MPS Fast Search

Indexed cache of the replenishment states for instant MPS filters.

The Problem

The standard Master Production Schedule computes the replenishment state of each line at query time. Every time a user applies a filter such as To Replenish, Under Replenishment or Excessive Replenishment, Odoo loads all the lines, recomputes the state on the whole set and, for each product, walks the bill of materials and queries stock moves and purchase order lines. On databases with thousands of lines this can take tens of seconds or more.

Solution

The replenishment state is precomputed and stored on each planning line:

Filter Meaning
To Replenish At least one period needs replenishment
Under Replenishment At least one period is below the minimum
Excessive Replenishment At least one period has excessive replenishment

Features

  • Toggle in the settings — enables/disables fast search per company in Manufacturing → Settings
  • Automatic scheduled action — cache refreshed every hour, switched on/off automatically with the toggle
  • Manual refresh — Manufacturing → Planning → MPS: Refresh replenishment state cache
  • Transparent fallback — when the flag is disabled, the native behaviour is restored
  • Compatible with the MPS Demand Mode module

Configuration

  1. Install the module.
  2. Go to Manufacturing → Settings → Master Production Schedule and enable Fast Search.
  3. Run MPS: Refresh replenishment state cache manually the first time.
  4. The hourly scheduled action keeps the cache up to date automatically.

Developed by STeSI Consulting — Francesco Moccia <moccia.f@stesi.consulting>