Skip to content
Extraits de code Groupes Projets
Valider 6c75c290 rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

[FIX] issue on done picking + precommit

parent 28ab3783
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -20,7 +20,9 @@ ...@@ -20,7 +20,9 @@
<field name="report_type">qweb-pdf</field> <field name="report_type">qweb-pdf</field>
<field name="report_name">stock.report_picking</field> <field name="report_name">stock.report_picking</field>
<field name="report_file">stock.report_picking_operations</field> <field name="report_file">stock.report_picking_operations</field>
<field name="print_report_name">'Bon de préparation - %s - %s' % (object.partner_id.name or '', object.name)</field> <field
name="print_report_name"
>'Bon de préparation - %s - %s' % (object.partner_id.name or '', object.name)</field>
<field name="binding_model_id" ref="stock.model_stock_picking" /> <field name="binding_model_id" ref="stock.model_stock_picking" />
<field name="binding_type">report</field> <field name="binding_type">report</field>
</record> </record>
......
...@@ -28,7 +28,10 @@ ...@@ -28,7 +28,10 @@
</div> </div>
</div> </div>
<br /> <br />
<table class="table table-sm table-prepa" t-if="o.move_ids_without_package"> <table
class="table table-sm table-prepa"
t-if="o.move_ids_without_package"
>
<thead> <thead>
<tr> <tr>
<th /> <th />
...@@ -65,7 +68,9 @@ ...@@ -65,7 +68,9 @@
<t t-foreach="o.move_ids_without_package" t-as="l"> <t t-foreach="o.move_ids_without_package" t-as="l">
<t t-if="category.id==l.product_id.categ_id.parent_id.id"> <t
t-if="category.id==l.product_id.categ_id.parent_id.id"
>
<tr> <tr>
<td /> <td />
...@@ -84,7 +89,7 @@ ...@@ -84,7 +89,7 @@
/> />
<span <span
t-if="l.state == 'done'" t-if="l.state == 'done'"
t-field="l.qty_done" t-field="l.quantity_done"
/> />
<span t-field="l.product_uom" /> <span t-field="l.product_uom" />
</td> </td>
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter