Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
3 Risposte
4479 Visualizzazioni

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
Abbandona
Risposta migliore

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

Avatar
Abbandona
Risposta migliore

Hi,

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

Only models can be defined as Transient.

Thanks

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
apr 21
2035
1
apr 21
2687
1
feb 24
1742
2
set 23
5993
0
gen 22
2445