From c40b2f0d8a704417d61aa1cd054bb666e7372ade Mon Sep 17 00:00:00 2001 From: Juliana <juliana@le-filament.com> Date: Mon, 16 Dec 2019 14:08:53 +0100 Subject: [PATCH] Ajout *champ obligatoire + style label optionel --- static/src/css/style.css | 5 +++++ views/templates.xml | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/static/src/css/style.css b/static/src/css/style.css index 964b60c..802e30e 100644 --- a/static/src/css/style.css +++ b/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; +} \ No newline at end of file diff --git a/views/templates.xml b/views/templates.xml index c880514..b074f80 100644 --- a/views/templates.xml +++ b/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> \ No newline at end of file -- GitLab