Skip to Content
Menu
This question has been flagged

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?

Avatar
Discard
Best Answer

1. You should import warehouse first and warehouse will created and its related locations are created.

2. You export locations from odoo and change the location name as you want. Then, import again.

Avatar
Discard
Related Posts Replies Views Activity
0
Mar 15
3544
1
Mar 23
1207
1
May 22
1828
1
Mar 20
3364
5
Apr 18
6696