Usually this kinda options available in html <input> field attributes. similarly is it any option for Odoo input fields? (Note: without any changes in browser settings)
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
3
Trả lời
8710
Lượt xem
Hi Sudhakar,
There is an autocomplete attribute. See the below code, it is disabling the autocomplete for datepicker fields system wide.
<templates id="template" xml:space="preserve">
<t t-extend="web.datepicker">
<t t-jquery=".o_datepicker_input" t-operation="attributes">
<attribute name="autocomplete">off</attribute>
</t>
</t>
</templates>
Ok Mihran Thanks a lot..
Hi Sudhakar,
You can simply use autocomplete = "off" attribute like below.
<field name = "date" autocomplete = "off" />
Thank you.
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
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ý