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.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客戶關係
- e-Commerce
- 會計
- 庫存
- PoS
- 專案管理
- MRP
此問題已被標幟
1
回覆
2611
瀏覽次數
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.