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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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
Hi,
You cannot define a field with its type as Transient in Odoo.
Only models can be defined as Transient.
Thanks
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
Maak vandaag nog een account aan om te profiteren van exclusieve functies en deel uit te maken van onze geweldige community!
Aanmelden| Gerelateerde posts | Antwoorden | Weergaven | Activiteit | |
|---|---|---|---|---|
|
0
apr. 21
|
2673 | |||
|
1
apr. 21
|
3262 | |||
|
1
feb. 24
|
2543 | |||
|
2
sep. 23
|
7049 | |||
|
0
jan. 22
|
3120 |
1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.