stock_valuation_layer_usage
This module enables tracing the usage of stock valuation layers by identifying which stock moves utilized specific valuation layers and the quantities taken, facilitating revaluation processes and ensuring proper handling of Make-To-Order scenarios.
Key Features
- stock.move: Adds a 'Valuation Layers' section to display the valuation layers used by the stock move, including quantities and values taken.
- stock.valuation.layer: Adds 'Usage' and 'Incoming Usage' tabs to show how the valuation layer has been utilized in stock moves.
- stock.valuation.layer.usage: Introduces a new model to track the relationship between valuation layers and stock moves, recording quantities and values taken.
- valuation: Modifies the creation of outgoing valuation layers to respect Make-To-Order logic and avoid using reserved layers.