تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
3 الردود
3806 أدوات العرض

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


الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
5
سبتمبر 25
23268
3
أغسطس 25
3482
1
مايو 25
3361
1
أبريل 25
4268
1
أبريل 25
5068