From 1f873df15d5a4779bfa4a0cfb96ec3915a44ccca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Thu, 17 Nov 2022 10:04:29 +0100 Subject: [PATCH] [UPD] bon preparation --- report/report_saleorder_preparation.xml | 42 ++++++++++++++++++------- 1 file changed, 31 insertions(+), 11 deletions(-) diff --git a/report/report_saleorder_preparation.xml b/report/report_saleorder_preparation.xml index 4d33900..de6cbe2 100644 --- a/report/report_saleorder_preparation.xml +++ b/report/report_saleorder_preparation.xml @@ -11,6 +11,10 @@ t-field="o.partner_shipping_id" t-options='{"widget": "contact", "fields": ["address", "name", "phone"], "no_marker": True, "phone_icons": True}' /> + <span t-if="o.client_order_ref"><strong + >Référence :</strong></span><span + t-field="o.client_order_ref" + /> <br /> </div> <div class="page"> @@ -20,26 +24,42 @@ </h1> <div class="row mt48 mb32"> <div class="col-auto" name="div_state"> - <strong>Statut :</strong> + <strong>Statut</strong> <p t-field="o.state" /> </div> - <div class="col-auto" name="div_commitment_date"> - <strong>Date de livraison :</strong> + <div + class="col-auto" + name="div_commitment_date" + t-if="o.commitment_date" + > + <strong>Date de livraison</strong> <p t-field="o.commitment_date" t-options='{"widget": "date"}' /> </div> - <div class="col-auto" name="div_transporter"> - <strong>Transporteur :</strong> + <div + class="col-auto" + name="div_transporter" + t-if="o.res_transporter_id" + > + <strong>Transporteur</strong> <p t-field="o.res_transporter_id" /> </div> - <div class="col-auto" name="div_packaging"> - <strong>Emballage :</strong> + <div + class="col-auto" + name="div_packaging" + t-if="o.packaging_id" + > + <strong>Emballage</strong> <p t-field="o.packaging_id" /> </div> - <div class="col-auto" name="div_billing"> - <strong>Type de facturation :</strong> + <div + class="col-auto" + name="div_billing" + t-if="o.billing_type_id" + > + <strong>Type de facturation</strong> <p t-field="o.billing_type_id" /> </div> </div> @@ -59,13 +79,13 @@ > <thead> <tr> - <th name="th_product" style="width: 60%;"> + <th name="th_product" style="width: 50%;"> <strong>Article</strong> </th> <th name="th_qty" style="width: 15%;"> <strong>Quantité</strong> </th> - <th name="th_serial_number" style="width: 10%;"> + <th name="th_serial_number" style="width: 20%;"> <strong>Numéro de Lot</strong> </th> <th name="th_expiry" style="width: 15%;"> -- GitLab