diff --git a/__manifest__.py b/__manifest__.py index 28d253bdc72a92f79a7d669fd3a8f9b2c19b5944..ec5f6774d891a83e241d806306bbbb663d4e62d1 100644 --- a/__manifest__.py +++ b/__manifest__.py @@ -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", ], diff --git a/templates/report_delivery_ap_template.xml b/templates/report_delivery_ap.xml similarity index 86% rename from templates/report_delivery_ap_template.xml rename to templates/report_delivery_ap.xml index a8fc384b3eb31d098137dd4453f8d71fbc5ff49b..8f4e678267ef93590a9a07b6f8c2ba17f843d0a8 100644 --- a/templates/report_delivery_ap_template.xml +++ b/templates/report_delivery_ap.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}" /> - <span - t-if="l.product_uom.id != %(uom.product_uom_unit)d" - t-field="l.product_uom" - /> + </td> + <td style="border-left: 0; width: 40px;"> + <t t-if="l.product_uom.id != %(uom.product_uom_unit)d"> + <span + t-field="l.product_uom" + /> + </t> </td> </tr> </t>