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
Fields cannot be transient, only models can be defined as transient.
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
相關帖文 | 回覆 | 瀏覽次數 | 活動 | |
---|---|---|---|---|
|
0
4月 21
|
2007 | ||
|
1
4月 21
|
2679 | ||
|
1
2月 24
|
1732 | ||
|
2
9月 23
|
5990 | ||
|
0
1月 22
|
2425 |