Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
3803 มุมมอง

How to change label color of only required field in odoo 16?

อวตาร
ละทิ้ง

Got any solution for it? Need also same thing.

Display Asterisk in Required Fields
This module enables the display of an asterisk for required fields in Odoo.
https://apps.odoo.com/apps/modules/17.0/mh_display_asterisk_in_required_field

คำตอบที่ดีที่สุด

Hi,

You can use this free app from the store for the same:  https://apps.odoo.com/apps/modules/16.0/kg_required_fields/

Thanks

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I use this module for 16 or 17

https://apps.odoo.com/apps/modules/17.0/mandatory_field_highlight

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi, 

You can achieve this by adding a css file and inside give 

.o_required_modifier.o_field_widget {
background-color: rgb(226 222 147) !important;

This gives a slight yellow color to all the required fields. Add the css file in web.assets_backend.

Regards


อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
5
ก.ย. 25
23268
3
ส.ค. 25
3482
1
พ.ค. 25
3361
1
เม.ย. 25
4268
1
เม.ย. 25
5068