Ir al contenido
Menú
Se marcó esta pregunta
3 Respuestas
4465 Vistas

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
Descartar
Mejor respuesta

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

Avatar
Descartar
Mejor respuesta

Hi,

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

Only models can be defined as Transient.

Thanks

Avatar
Descartar
Mejor respuesta

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
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 21
2004
1
abr 21
2677
1
feb 24
1732
2
sept 23
5987
0
ene 22
2425