product_route_profile
This module introduces the concept of route profiles to replace direct route assignments on products, enabling more flexible and company-specific route management.
Key Features
- route.profile: Allows creation and management of route profiles that group multiple routes with optional company association.
- product.template: Adds a route profile field to products for default route assignment and a company-dependent priority route profile for overrides.
- product.template: Computes product routes based on the assigned route profile or priority profile, hiding the original route_ids field in the UI.
- product.template: Supports backwards compatibility by automatically creating route profiles when routes are set directly on products.
- stock.route: Adds a computed product_ids field that reflects products associated via route profiles for compatibility.
- stock.route: Includes route_profile_ids to link routes to profiles and supports searching products by routes.
- warehouse: Provides a menu item under warehouse configuration to manage route profiles.