stock_picking_group_by_base
This module provides a base framework for creating database indexes on stock.picking to optimize grouping operations in dependent modules.
Key Features
- stock.picking: Provides methods to define and create database indexes for grouping fields.
- stock.picking: Includes a default set of fields (partner_id, location_id, location_dest_id, picking_type_id) for the index.
- stock.picking: Applies a condition to the index for pickings that are not printed and in draft, confirmed, waiting, partially_available, or assigned states.
- stock.picking: Handles database lock issues during index creation gracefully.
- stock.picking: Removes the index upon module uninstall.