Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2728 Lượt xem

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 9 22
3402
0
thg 9 23
1116
0
thg 4 23
1885
0
thg 3 23
1310
1
thg 2 23
1864