When a sales order is canceled, when one uses the 'New Copy from Quotati...

...on' button,

the binding are moved from the old (canceled) order to the new one, so the
synchronizations now happen on the new order.

- [x] **Warning**: needs this PR to be merged in *addons* https://github.com/odoo/odoo/pull/1025

Original MP on Launchpad: https://code.launchpad.net/~camptocamp/openerp-connector-magento/7.0-copy-quotation-move-binding/+merge/226137
@guewen: careful, there a Python trap here which is going to bite you. If ids is a tuple (and you are testing for this) with more than 1 element (which will sometimes be the case when you reach the assert), then you will get the following exception:

    TypeError: not all arguments converted during string formatting

So this needs to be changed to e.g.:

    assert len(ids) == 1, "1 ID expected, got the following list %s" % (ids,)