Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
4062 Tampilan

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
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
3
Jul 24
1972
1
Nov 22
3269
2
Agu 22
7603
1
Jan 25
9303
1
Sep 21
6617