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