Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ

In Odoo 16.

I have called another model's method from one model.

I have rewritten the method of Create and I want to initialize the newly created object as below.


record['status'] = record.ref_id.status        

record['power'] = record.ref_id.power


Numeric value, selection field value and...

This process was done without problems in Odoo 13, but in Odoo 16 I have the following error.


AttributeError: 'Selection' object has no attribute '_convert_from_cache_to_column'


How should I fix it?

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
1537
1
thg 1 25
2834
1
thg 9 23
2602
1
thg 5 25
2433
1
thg 4 25
3451