İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
4070 Görünümler

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!

Avatar
Vazgeç
En İyi Yanıt

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

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Tem 24
1977
1
Kas 22
3276
2
Ağu 22
7608
1
Oca 25
9308
1
Eyl 21
6621