[FIX] reduce the number of unnecessary calls to trg_write in cancel_assign

when calling stock_picking.cancel_assign, the original code would call trg_write nb_move+1 times. This version only performs one call
Launchpad automatic translations update.
[FIX] reduce the number of unnecessary calls to trg_write in cancel_assign
Launchpad automatic translations update.