Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet

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
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Mai 24
1570
1
Jan. 25
2885
1
Sept. 23
2639
1
Mai 25
2458
1
Apr. 25
3475