Skip to content
Snippets Groups Projects
Commit b3a58747 authored by Rémi - Le Filament's avatar Rémi - Le Filament
Browse files

[add] update picking report template

parent d43e78d4
Branches
No related tags found
No related merge requests found
......@@ -11,6 +11,7 @@ Fumaison Occ - Vente
- Ajout de champs venant de *fumoc_partner* sur *sale_order*
- Ajout de la note de facturation et de la DLC des lots dans les factures pdf
- Ajout de la DLC dans la vue détaillée des opérations sur le bon de livraison
- Modifications mineures du bon de livraison (suppression numéro de téléphone client, remplace Origine par Commande, Force date prévue, Ajout du code-barre article)
- Calcul la DLC des lots en fonction du numéro de lot
- Ajout de la DLC, DDM et date d'alerte dans *stock_quant*
......@@ -39,4 +40,3 @@ Maintainer
:target: https://le-filament.com
This module is maintained by Le Filament
......@@ -7,18 +7,31 @@
<template id="fumoc_sale_stock_report_delivery_document"
inherit_id="stock.report_delivery_document">
<xpath expr="//table[@name='stock_move_table']" position="before">
<div class="row mt32 mb32">
<xpath expr="//t[@name='partner_header']" position="replace">
<t t-if="partner" name="partner_header">
<t t-set="address">
<div t-esc="partner" t-options="{&quot;widget&quot;: &quot;contact&quot;, &quot;fields&quot;: [&quot;address&quot;, &quot;name&quot;], &quot;no_marker&quot;: True}"/>
</t>
</t>
</xpath>
<xpath expr="//div[@name='div_origin']" position="replace">
<div t-if="o.origin" class="col-auto" name="div_origin">
<strong>Commande :</strong>
<p t-field="o.origin"/>
</div>
</xpath>
<xpath expr="//div[@name='div_sched_date']" position="replace">
<div class="col-auto" name="div_sched_date">
<strong>Date :</strong>
<p t-field="o.scheduled_date" t-options="{&quot;widget&quot;: &quot;date&quot;}"/>
</div>
<div class="col-auto">
<div t-if="o.res_transporter_id" class="col-auto" name="div_transporter">
<strong>Transporteur :</strong>
<p t-field="o.res_transporter_id"/>
</div>
<div t-if="o.packaging_id" class="col-auto" name="div_packaging">
<strong>Emballage :</strong>
<p t-field="o.packaging_id"/>
</div>
</div>
<div class="row mt32 mb32">
<div class="col-auto">
<t t-if="o.partner_contact_id">
<div t-if="o.partner_contact_id.delivery_note" class="col-auto" name="div_delivery_note">
<strong>Note :</strong>
......@@ -28,6 +41,16 @@
</div>
</xpath>
</template>
<template id="fumoc_sale_stock_report_delivery_barcode"
inherit_id="stock.stock_report_delivery_has_serial_move_line">
<xpath expr="/t/td/p" position="after">
<p t-if="move_line.product_id.barcode">
<p>Code-Barre : <span t-esc="move_line.product_id.barcode"/></p>
</p>
</xpath>
</template>
<!-- Inheritance from product_expiry -->
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment