stock_location_is_sublocation
This module provides utility methods for the stock.location model to determine if a stock location is a sublocation of other locations.
Key Features
- stock.location: Adds the is_sublocation_of method that checks if the current location is a sublocation (or equal) of any or all provided locations using their parent paths.