[FIX] purchase: filter moves to confirm and assign when creating a PO's picking
[FIX] purchase: filter moves to confirm and assign when creating a PO's picking

If a PO with picking is canceled, then reset to draft and confirmed again
two pickings are created. Indeed when creating the picking, moves related
to the PO are confirmed and assigned, even those which were previously
canceled.

This commit ensures that canceled and done moves stay in their state.
This avoid having two pickings for a single PO.

ygol/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,ygol/odoo,dfang/odoo,ygol/odoo,ygol/odoo,dfang/odoo,dfang/odoo,ygol/odoo,hip-odoo/odoo,hip-odoo/odoo,hip-odoo/odoo,dfang/odoo,hip-odoo/odoo,dfang/odoo,ygol/odoo