Importing warehouses, location and inventory with RPC - no external id for view location
I am trying to import all of our data into Odoo 12.0 using the odoo_csv_import library from tfrancoi.
When a warehouse is created, it automatically creates a view location and a stock location. This is problematic for me because I would like to create those locations manually so that I can assign an external id - this external id is needed so that I can import inventory to the correct locations.
I know when importing product templates you can specify create_product_product = false in the context to avoid creating the product automatically from the template, but I don't see anything similar for warehouses/locations.
The only solution I can see is to create the warehouse locations manually and then manually add an external id before importing inventory, but this seems tedious and unnecessary.
Is there a better way?