Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
3129 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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;
}
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
3940
1
dic 23
4960
1
apr 24
2086
0
gen 24
1666
1
set 23
3090