Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
3 Trả lời
3800 Lượt xem

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

Ảnh đại diện
Huỷ bỏ

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

Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

I use this module for 16 or 17

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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


Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
5
thg 9 25
23256
3
thg 8 25
3480
1
thg 5 25
3359
1
thg 4 25
4261
1
thg 4 25
5066