Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
6100 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
4728
1
mar 23
2862
1
mag 22
3211
1
mar 20
4631
5
apr 18
8529