Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
4475 Zobrazení

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
Zrušit
Nejlepší odpověď

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

Avatar
Zrušit
Nejlepší odpověď

Hi,

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

Only models can be defined as Transient.

Thanks

Avatar
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
dub 21
2020
1
dub 21
2681
1
úno 24
1734
2
zář 23
5991
0
led 22
2429