stock_location_orderpoint
This module enables the creation of orderpoints on specific stock locations to automatically replenish products based on predefined criteria for internal warehouse replenishment.
Key Features
- stock.location.orderpoint: Defines orderpoints with location, route, trigger, replenish method, sequence, procurement group, and priority.
- stock.location.orderpoint: Ensures unique combination of location, route, company, and replenish method.
- stock.location.orderpoint: Computes source location based on route and validates route destination.
- stock.location.orderpoint: Prepares procurements with values like route, warehouse, group, and priority.
- stock.location.orderpoint: Groups orderpoints by trigger, replenish method, and last cron execution for domain filtering.
- stock.location.orderpoint: Filters consuming and replenishment moves based on trigger and method.
- stock.location.orderpoint: Computes quantities to replenish using fill-up method considering virtual available quantities.
- stock.location.orderpoint: Runs replenishment for potential products and assigns replenishment moves.
- stock.location.orderpoint: Supports automatic, manual, and scheduled replenishment triggers.
- stock.location.orderpoint: Updates last cron execution time after scheduled replenishment.
- stock.location: Adds one-to-many relation to location orderpoints and computes count.
- stock.location: Provides action to open and view location orderpoints.
- stock.move: Adds many-to-one relation to location orderpoint.
- stock.move: Calculates replenishment date for products based on move dates.
- stock.move: Prepares auto replenishment for outgoing and incoming moves.
- stock.move: Enqueues jobs for auto replenishment with identity key to avoid duplicates.
- stock.move: Triggers replenishment on move assignment and completion.
- stock.rule: Includes location orderpoint ID in custom move fields.
- replenishment: Uses fill-up method to trigger replenishment when forecast quantity is negative and limited by source availability.
- replenishment: Filters locations using domain to exclude certain locations from quantity calculations.
- replenishment: Groups procurements and assigns priorities to created moves.
- replenishment: Clears caches on create, write, and unlink of orderpoints.