Skip to content
Snippets Groups Projects
Commit 496f67ce authored by JordiMForgeFlow's avatar JordiMForgeFlow
Browse files

[FIX] purchase_mrp: filter cancelled moves when evaluating kit


The current behaviour does not filter the cancelled moves when
evaluating if the product of the purchase order line is a kit.
This causes that, in cases where you have a cancelled wrong receipt
where the product was being received as a kit, if a new receipt is
created without receiving as a kit Odoo will always expect it as a kit.

After the fix, the cancelled moves will not be considered, as this is what
should be expected from cancelled operations.

closes odoo/odoo#106906

Signed-off-by: default avatarWilliam Henrotin (whe) <whe@odoo.com>
parent 4abc7df7
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment