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

Hi everyone,


From Odoo 15 to 16, the lot/serial number model has been renamed from stock.production.lot to stock.lot


I have a field, for example x_lot_ids, which is a many2many to stock.production.lot

It seems like when we run Odoo's migration script, this field loses it's values.


How do I properly migrate this field/module, maybe with a custom migration script, so that this field keeps it's values?


Thanks & regards,

Jort ten Donkelaar - Aardug

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

You can report it to the support by so that they will do the necessary.

* open https://www.odoo.com/help

* select type as: An issue related to my upgrade (production)
* add Detailed description and log ticket


Thanks

อวตาร
ละทิ้ง
ผู้เขียน

Thanks Niyas. We solved it now with a small server action that we run after migration, as we can figure out the values through other models/fields. But I would like to get some experience on how I would write these kinds of scripts myself.

Related Posts ตอบกลับ มุมมอง กิจกรรม
Module migratior error แก้ไขแล้ว
3
ก.ย. 22
4392
0
ก.ย. 23
2060
0
เม.ย. 23
2648
0
มี.ค. 23
1985
1
ก.พ. 23
2468