コンテンツへスキップ
メニュー
この質問にフラグが付けられました

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
5月 24
1566
1
1月 25
2880
1
9月 23
2627
1
5月 25
2455
1
4月 25
3474