diff --git a/report/report_saleorder_preparation.xml b/report/report_saleorder_preparation.xml index 4d33900940d17ddb40254e01e97fe8f66f619e3a..de6cbe2cfaad512450db51ab41154ad8732daae2 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%;">