تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
6091 أدوات العرض

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?

الصورة الرمزية
إهمال
أفضل إجابة

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.

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
مارس 15
4708
1
مارس 23
2841
1
مايو 22
3197
1
مارس 20
4621
5
أبريل 18
8517