Before this commit when duplicating a warehouse, its operation types (picking.type)
wouldn't get copied. This commit ensures that new picking.types are created for
the duplicate warehouse.
[Reproduce]
- run odoo 17 with -i stock,mrp_subcontracting
- in Inventory/Configuration/Warehouses Duplicate a Warehouse
- Bug: in Inventory/Configuration/OperationTypes picking types aren't duplicated
opw-3674614
closesodoo/odoo#151769
Signed-off-by: William Henrotin (whe) <whe@odoo.com>