purchase_order_product_recommendation
This module adds a wizard to purchase orders that recommends products to buy from a supplier based on historical delivery data.
Key Features
- purchase.order: Adds a 'Recommended Products' button to the purchase order form header for draft, sent, and sale states.
- purchase.order.recommendation: Generates product recommendations based on historical deliveries to customer locations within a specified date range.
- purchase.order.recommendation: Filters recommendations by product categories to constrain results to specific product groups.
- purchase.order.recommendation: Filters recommendations by warehouses to limit analysis to deliveries from specific warehouses.
- purchase.order.recommendation: Includes an option to show all products with supplier information for the current supplier, even if not historically delivered.
- purchase.order.recommendation: Includes an option to show all purchasable products, useful for products not yet sold by the supplier.
- purchase.order.recommendation: Displays detailed metrics for each recommended product, including times delivered, units available, forecasted quantity, units received, and average daily deliveries.
- purchase.order.recommendation: Calculates suggested order quantities based on forecasted stock levels and historical demand.
- purchase.order.recommendation: Allows limiting the number of recommendations displayed in the wizard.
- purchase.order.recommendation: Enables editing of recommended quantities before acceptance.
- purchase.order.recommendation: Accepts selected recommendations to add new lines or update existing lines in the purchase order.
- purchase.order.recommendation: Integrates with existing purchase order lines by updating quantities or removing lines if quantity is set to zero.