Planning workorder will generate workorder lines according to reservation If some lines are already created into the workorder for the current product, The line generation will increase the quantity of the existing one instead of creating a new one. The issue occurs when the production have some stock move with the same product. This commit change the condition to find workorder line candidate. Instead of searching line with same product, we now search line with same stock move. closes odoo/odoo#37419 Signed-off-by: Arnold Moyaux <amoyaux@users.noreply.github.com>