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

hi all,

can I add a Many2one type Transient field in my Model? if yes, how I can create and use it in Model and View?

regards

アバター
破棄
最善の回答

Fields cannot be transient, only models can be defined as transient.

アバター
破棄
最善の回答

Hi,

You cannot define a field with its type as Transient in Odoo.

Only models can be defined as Transient.

Thanks

アバター
破棄
最善の回答

That's true : only models can be transient, not fields

But what you are searching for may be adding the option `store=False` to your field definition

アバター
破棄
関連投稿 返信 ビュー 活動
0
4月 21
2049
1
4月 21
2716
1
2月 24
1770
2
9月 23
6025
0
1月 22
2505