تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال

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?

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 24
1550
1
يناير 25
2861
1
سبتمبر 23
2604
1
مايو 25
2441
1
أبريل 25
3462