Skip to Content
मेन्यू
This question has been flagged

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?

Avatar
Discard
Related Posts Replies Views Activity
1
मई 24
1549
1
जन॰ 25
2858
1
सित॰ 23
2603
1
मई 25
2441
1
अप्रैल 25
3461