Browse Source

Ajout *champ obligatoire + style label optionel

12.0
Juliana 4 years ago
parent
commit
c40b2f0d8a
  1. 5
      static/src/css/style.css
  2. 5
      views/templates.xml

5
static/src/css/style.css

@ -1,3 +1,8 @@
.fa-shopping-cart:before {
content: "\f067";
}
form .div_city label ,
form .div_street label {
font-weight: 400;
}

5
views/templates.xml

@ -38,6 +38,11 @@
</select>
</xpath>
<xpath expr="//input[@name='field_required']" position="before">
<div class="mb-3">
* Champ obligatoire
</div>
</xpath>
</template>
</odoo>
Loading…
Cancel
Save