Skip to content
Extraits de code Groupes Projets
Valider 1be10f7a rédigé par Benjamin - Le Filament's avatar Benjamin - Le Filament
Parcourir les fichiers

[update] picking template

parent 8f4db875
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -17,7 +17,7 @@
"templates/report_sale.xml",
"templates/report_account.xml",
"templates/report_composition.xml",
"templates/report_delivery_ap_template.xml",
"templates/report_delivery_ap.xml",
# views
"views/res_company_views.xml",
],
......
......@@ -54,7 +54,7 @@
<th name="th_product">
<strong>Produit</strong>
</th>
<th>
<th colspan="2">
<strong>Quantité</strong>
</th>
</tr>
......@@ -69,8 +69,8 @@
</t>
<t t-foreach="set(product_category)" t-as="category">
<tr>
<td colspan="3">
<div><strong t-esc="category.name" /></div>
<td colspan="4">
<div style="padding-left: 20px;"><strong t-esc="category.name" /></div>
</td>
</tr>
......@@ -88,7 +88,7 @@
t-field="l.product_id.description_picking"
/>
</td>
<td>
<td class="text-right" style="background-color: #e9ecef; border-right: 0;">
<span
t-if="l.state != 'done'"
t-field="l.product_uom_qty"
......@@ -99,10 +99,13 @@
t-field="l.quantity_done"
t-options="{'widget': 'float', 'precision': 0}"
/>
</td>
<td style="border-left: 0; width: 40px;">
<t t-if="l.product_uom.id != %(uom.product_uom_unit)d">
<span
t-if="l.product_uom.id != %(uom.product_uom_unit)d"
t-field="l.product_uom"
/>
</t>
</td>
</tr>
</t>
......
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