In v16 Odoo change the way to generate the price difference journal items and it only does that when the cost is standard. From my point of view that is not correct and it should apply at leas to FIFO as well.
Because of the same thing, the selected account for the price difference journal items in not the price difference account in the product/product category but the property expense account of the product.
Check the module purchase_price_diff and method def _get_price_diff_account for more detail.
Forward port of https://github.com/ForgeFlow/stock-rma/pull/403
Issues found:
In v16 Odoo change the way to generate the price difference journal items and it only does that when the cost is standard. From my point of view that is not correct and it should apply at leas to FIFO as well.
Because of the same thing, the selected account for the price difference journal items in not the price difference account in the product/product category but the property expense account of the product.
Check the module purchase_price_diff and method
def _get_price_diff_account
for more detail.