When we are trying to change the reception route of a warehouse when there are existing resupply routes, we are getting a traceback. This bug comes from a migration error introduced in rev: https://github.com/odoo-dev/odoo/commit/70e1d5d5bc1a3cb325dbcb091fc2135e23084145