odoo/odoo#207605

Created by fw-bot
Merged at 7eaf783cc6ae1d35662b7050928a5ebc68bd46f8

Statuses:

label
odoo-dev:18.0-17.0-fix-stock_dropshipping-search-432038-fw
head
e10cd3eee6cd09739f80ecae0fea3b0b2c28c9c7
merged
6 months ago by Logistics, Quentin Wolfs (quwo)
odoo/odoo
17.0 #201968
saas-17.4 #207577
18.0 #207605
saas-18.1 #207615
saas-18.2 #207620
saas-18.3 #207623
saas-18.4
19.0
master #207989

[FW][FIX] stock_dropshipping: Be consequent with new picking type code

In this version, the picking type code dropship has been introduced to differentiate incoming types from this one (ref: 1547d66585a4b57cd3b747f28b7514dbd9d7bef8), but the search for missing companies without this new type is still being done with the old criteria of the source and target location.

Let's change this to use the new picking type code.

@Tecnativa

Forward-Port-Of: #201968