I am working on a migration from v10 to v13.
- On v10 when I have and stock.move related to a sale, and I want to know purchase
information, normaly I use quant_ids on stock.move, and filter stock.move that have
the purchase_line_id populated.
- On v13, I saw there is a reimplementation of stock.quant
https://github.com/odoo/odoo/commit/b3180c841101510081ee8ef9c52d205497efdd4f
and now I can't use quant_ids nor history_ids, to get that relation.
I saw this relation exists on stock.moves related to a dropship process, but on sale performed
from stock: how can I get the purchase move related to an sale move?