Skip to Content
Menu
This question has been flagged
1 Reply
2550 Views

good morning, how can I change the purple color of a mandatory field. When a field is mandatory I want it to be another color. For example Red. Thank you so much.

Avatar
Discard
Best Answer

Hi GinacaFTx,

Add style for the class oe_form_required

To add backend Custom Style, just create CSS file under module_name -> static -> src -> css

Add that to backend assets.

eg:

<template id="assets_backend" name="hr_timesheet_sheet assets" inherit_id="web.assets_backend">
<xpath expr="." position="inside">
<link rel="stylesheet" href="/hr_timesheet_sheet/static/src/css/timesheet.css"/>
<script type="text/javascript" src="/hr_timesheet_sheet/static/src/js/timesheet.js"></script>
</xpath>
</template>

Replace paths with your custom files.

Avatar
Discard