Skip to Content
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
3604 Представления

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

Аватар
Отменить
Related Posts Ответы Просмотры Активность
3
июл. 24
1304
1
нояб. 22
2534
2
авг. 22
6817
1
янв. 25
8398
1
сент. 21
5781