From cf95ead8f530f1924510acad8083e41c0108258c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Mon, 14 Nov 2022 17:01:49 +0100 Subject: [PATCH] [FIX] exclude notes and sections --- report/report_saleorder_preparation.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/report/report_saleorder_preparation.xml b/report/report_saleorder_preparation.xml index be8ef49..4d33900 100644 --- a/report/report_saleorder_preparation.xml +++ b/report/report_saleorder_preparation.xml @@ -76,7 +76,7 @@ <tbody> <t t-set="categ_id" t-value="False" /> <t - t-foreach="o.order_line.sorted(key=lambda r: r.product_id.product_tmpl_id.categ_id.complete_name)" + t-foreach="o.order_line.filtered(lambda r: r.display_type == False).sorted(key=lambda r: r.product_id.product_tmpl_id.categ_id.complete_name)" t-as="line" > <t -- GitLab