Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
3 Besvarelser
4530 Visninger

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
Kassér
Bedste svar

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

Avatar
Kassér
Bedste svar

Hi,

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

Only models can be defined as Transient.

Thanks

Avatar
Kassér
Bedste svar

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
Kassér
Related Posts Besvarelser Visninger Aktivitet
0
apr. 21
2060
1
apr. 21
2728
1
feb. 24
1785
2
sep. 23
6053
0
jan. 22
2512