跳至內容
選單
此問題已被標幟
1 回覆
2917 瀏覽次數

Hello experts, I'm using odoo 16 enterprise, and I want to show a line or rectangle for all empty fields inside a form, as shown in the attachment (picture) I tried to change some values inside file /odoo/addons/web/static/lib/bootstrap/scss/forms/_validation.scss but nothing happen , Please can anyone help me with that issue regards

Expected some code to solve my problem, hope to show answer clearly with step by step or a picture and I need a result for odoo 16 enterprise version, coding, or by changing some variables

頭像
捨棄
最佳答案

Hi, I just figured this out for myself.

Go to: 

addons\web\static\src\views\form\form_controller.scss

Find the code below and delete the bold underlined part.

&:not(.o_field_highlight) .o_field_widget:not(.o_field_invalid):not(.o_field_highlight) .o_input:not(:hover):not(:focus) {
--o-input-border-color: transparent;
}
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
3月 15
3748
1
12月 23
4669
1
4月 24
1653
0
1月 24
1347
1
9月 23
2674