Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odgovori
4564 Prikazi

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
Opusti
Best Answer

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

Avatar
Opusti
Best Answer

Hi,

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

Only models can be defined as Transient.

Thanks

Avatar
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
apr. 21
2082
1
apr. 21
2759
1
feb. 24
1810
2
sep. 23
6122
0
jan. 22
2523