Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
3 Respostas
4499 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Melhor resposta

Hi,

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

Only models can be defined as Transient.

Thanks

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
abr. 21
2048
1
abr. 21
2714
1
fev. 24
1761
2
set. 23
6016
0
jan. 22
2491