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
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
|
0
thg 4 21
|
2049 | ||
|
1
thg 4 21
|
2715 | ||
|
1
thg 2 24
|
1769 | ||
|
2
thg 9 23
|
6023 | ||
|
0
thg 1 22
|
2504 |