Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sale_stock_available_to_promise_release: improve '_get_next_replenish…
…ment_date' perf Checking ongoing states instead of finished ones (done and canceled) helps PostgreSQL to perform the filter on far less lines (done lines are increasing a lot over time), speeding up the query to get the next replenishment date.
- Loading branch information