All our modules related to developments that solves generic issues on Odoo, or that solve internal problems on Odoo Core, if something is here, maybe it is solving an issue in your company, try it and report what you see.
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.
The
sale_stock_margin
module recomputes the purchase price in sale order lines and callssuper()
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.