Pular para o conteúdo
Menu
Esta pergunta foi sinalizada

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
1
mai. 24
1558
1
jan. 25
2864
1
set. 23
2607
1
mai. 25
2444
1
abr. 25
3464