From e1a84c5b2ff1f73c0fde64ca66adafea5ed8e6ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Thu, 18 Nov 2021 14:03:11 +0100 Subject: [PATCH] [IMP] Pre-Commit --- views/report_delivery_ap_template.xml | 29 +++++++++++++++------------ views/res_company_views.xml | 2 +- 2 files changed, 17 insertions(+), 14 deletions(-) diff --git a/views/report_delivery_ap_template.xml b/views/report_delivery_ap_template.xml index 4c9c2f0..0698059 100644 --- a/views/report_delivery_ap_template.xml +++ b/views/report_delivery_ap_template.xml @@ -41,11 +41,14 @@ </tr> </thead> <tbody> - <t t-set="product_category" t-value="[]"/> + <t t-set="product_category" t-value="[]" /> <t t-foreach="o.move_ids_without_package" t-as="l"> - <t t-set="product_category" t-value="product_category+[l.product_id.categ_id]"/> + <t + t-set="product_category" + t-value="product_category+[l.product_id.categ_id]" + /> </t> @@ -54,7 +57,7 @@ <tr> <td /> <td> - <div><strong t-esc="category.name"/></div> + <div><strong t-esc="category.name" /></div> </td> <td> </td> @@ -68,21 +71,21 @@ <td /> <td> <span - t-field="l.product_id.display_name" - /><br /> + t-field="l.product_id.display_name" + /><br /> <span - t-field="l.product_id.description_picking" - /> + t-field="l.product_id.description_picking" + /> </td> <td> <span - t-if="l.state != 'done'" - t-field="l.product_uom_qty" - /> + t-if="l.state != 'done'" + t-field="l.product_uom_qty" + /> <span - t-if="l.state == 'done'" - t-field="l.qty_done" - /> + t-if="l.state == 'done'" + t-field="l.qty_done" + /> </td> </tr> </t> diff --git a/views/res_company_views.xml b/views/res_company_views.xml index 37aaa01..5e3dfa2 100644 --- a/views/res_company_views.xml +++ b/views/res_company_views.xml @@ -15,5 +15,5 @@ </field> </record> - </data> + </data> </odoo> -- GitLab