purchase_stock_price_unit_sync
This module synchronizes the cost prices in stock moves and valuation layers with updated prices from purchase order lines after stock moves are completed.
Key Features
- purchase.order.line: Synchronizes cost prices when price_unit or discount is updated on purchase order lines for orders in purchase or done state.
- stock.move: Updates price_unit on stock moves that are already done.
- stock.valuation.layer: Updates unit_cost on stock valuation layers excluding children layers.