Skip to Content
Menu
This question has been flagged
3 Replies
4631 Views

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Best Answer

Hi,

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

Only models can be defined as Transient.

Thanks

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
0
Apr 21
2117
1
Apr 21
2818
1
Feb 24
1896
2
Sep 23
6229
0
Jan 22
2550