From 86ff437ef0b7928fb35762a2a33f28c1805a1478 Mon Sep 17 00:00:00 2001 From: Juliana <juliana@le-filament.com> Date: Wed, 1 Dec 2021 18:38:29 +0100 Subject: [PATCH] [UPD]Change text lowercase address + Compo template --- static/src/scss/layout_generic.scss | 1 - views/report_composition_templates.xml | 12 ++++++------ views/report_templates.xml | 4 ++-- 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/static/src/scss/layout_generic.scss b/static/src/scss/layout_generic.scss index 0361040..0897cc6 100644 --- a/static/src/scss/layout_generic.scss +++ b/static/src/scss/layout_generic.scss @@ -6,7 +6,6 @@ address div:first-child { address .align-items-baseline { font-weight: normal !important; font-size: 15px !important; - text-transform: lowercase !important; } .o_boxed_header { diff --git a/views/report_composition_templates.xml b/views/report_composition_templates.xml index 9270266..95608d3 100644 --- a/views/report_composition_templates.xml +++ b/views/report_composition_templates.xml @@ -8,7 +8,7 @@ <div class="page"> <div class="row"> <div class="col-8" name="div_outgoing_address"> - <h2> + <h4> <t t-if="not (env.context.get('proforma', False) or is_pro_forma)" > @@ -25,7 +25,7 @@ <span>Facture pro-forma n° </span> </t> <span t-field="doc.name" /> - </h2> + </h4> <div class="mw-100 mb-3"> <p class="m-0">Du <span t-field="doc.date_order" @@ -51,9 +51,9 @@ <div style="page-break-after: always;"> <div class="row mt32 mb32" name="projets"> <div class="col-12"> - <h3>Projet N° <span + <h6>Projet N° <span t-field="project.name" - /></h3> + /></h6> </div> </div> <div class="row mt32 mb32" name="projets"> @@ -62,9 +62,9 @@ t-as="intervention" > <div class="col-4"> - <h4 class="text-center">Intervention n° <span + <h7 class="text-center">Intervention n° <span t-field="intervention.name" - /></h4> + /></h7> <t t-if="intervention.sequence_type == 'sequence'" > diff --git a/views/report_templates.xml b/views/report_templates.xml index f08a236..9a8d4b9 100644 --- a/views/report_templates.xml +++ b/views/report_templates.xml @@ -107,13 +107,13 @@ <div class="col-4"> </div> <div class="col-4 text-center"> - <h1 class="mt0 text-center">Compositions</h1> + <h2 class="mt0 text-center">Compositions</h2> </div> <div class="col-4 mb4 text-right"> <img t-if="company.logo" t-att-src="image_data_uri(company.logo)" - style="max-height: 80px;" + style="max-height: 50px;" alt="Logo" /> </div> -- GitLab