Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
3584 มุมมอง

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
1298
Hide menu for all except specific group แก้ไขแล้ว
1
พ.ย. 22
2531
Live tracking in odoo. แก้ไขแล้ว
2
ส.ค. 22
6813
1
ม.ค. 25
8395
1
ก.ย. 21
5777