القائمة

المساعدة

0

Change color of mandatory fields /Smart buttons in Odoo 14

Avatar
Jorn Van den Driessche

How can the color of the smart buttons/mandatory field in the community edition be edited?

As it seems this is not part of the primary_variables.scss.  This also seems to be the case on the 'mandatory' fields like name and email in the contacts.  The background color is in a light purple, but I can't seem to get it changed.


I have been looking in the primary variables for the specific color, but can't to find anything.


Can someone please point me in the right direction?

الصورة الرمزية
تجاهل
2الإجابات
1
أفضل إجابة

Here is a CSS where you need to change the color for mandatory fields:
https://github.com/odoo/odoo/blob/14.0/addons/web/static/src/scss/fields_extra.scss#L7

الصورة الرمزية
تجاهل
0
أفضل إجابة

Hi,

Try refer the following.

https://ibb.co/WDyTs4w

Regards

الصورة الرمزية
تجاهل