Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
4119 Visninger

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
Kassér
Bedste svar

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

Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
3
jul. 24
2037
1
nov. 22
3354
2
aug. 22
7687
1
jan. 25
9380
1
sep. 21
6694