Hi everyone,
I am new to Odoo and would like to censor a field in both the Odoo form and database. How can I go about censoring data on the employee form?
Could someone please provide a solution? Thanks a lot.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
Hi everyone,
I am new to Odoo and would like to censor a field in both the Odoo form and database. How can I go about censoring data on the employee form?
Could someone please provide a solution? Thanks a lot.
Hi,
If you're looking to censor a field in both the Odoo form and database, you can use the invisible attribute in the Odoo XML view to hide the field on the form while keeping the data stored in the database.
<field name="censored_field" invisible="1" />
Regards
Hi Dians,
To hide it in from Odoo form, add an invisible attribute to its view, and from the database add the attribute store=False
and field = fields.Char(string="Field",store=False)
Regards
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 | |
---|---|---|---|---|
|
4
thg 12 24
|
30796 | ||
|
2
thg 6 23
|
2641 | ||
|
1
thg 12 24
|
1536 | ||
|
2
thg 1 24
|
3507 | ||
|
2
thg 1 24
|
2365 |