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

Hello everyone, I have a problem about importing warehouses from an xls file. When I create warehouse manually, it will also create stock.locations that have correct parent_left and parent_right fields value, but when importing, parent_left and parent_right are both null, so I can't do inventory or scrap on that warehouse. Does anyone know how to recompute those fields when importing?

Thanks!

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

hope this may help: \https://gist.github.com/paulius-sladkevicius/60a84c97e8446f5e152415e874923d66

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
3
يوليو 24
1302
1
نوفمبر 22
2534
2
أغسطس 22
6817
1
يناير 25
8396
1
سبتمبر 21
5780