Use last purchase price instead of cost price
With the usage of
account_stock_landed_cost, the cost price of a product is no more a good guess for the purchase price.
I propose to use the price from the last purchase of the product to the same supplier. A little bit like we do for the currency, payment term and invoice method.