Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
4268 Näkymät

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
Hylkää
Paras vastaus

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

Avatar
Hylkää
Aiheeseen liittyviä artikkeleita Vastaukset Näkymät Toimenpide
3
heinäk. 24
2184
1
marrask. 22
3513
2
elok. 22
7913
1
tammik. 25
9593
1
syysk. 21
6886