Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FIX] product_cost_usd: order in recompute purchase price
The `sale_stock_margin` module recomputes the purchase price in sale order lines and calls `super()` only over the lines without a stock move related to it. This causes this module to not recompute the lines with stock moves related, leading to incorrect computation of the purchase price. This commit adds the `sale_stock_margin` module as a dependency in order to first run this module compute.
- Loading branch information