跳至內容
選單
此問題已被標幟
1 回覆
4124 瀏覽次數

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
7月 24
2044
1
11月 22
3358
2
8月 22
7693
1
1月 25
9385
1
9月 21
6695