跳至内容
菜单
此问题已终结
3 回复
4526 查看

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
2058
1
4月 21
2726
1
2月 24
1782
2
9月 23
6051
0
1月 22
2512