fix report

This commit is contained in:
janikvonrotz committed 2022-07-06 15:07:00 +02:00
1 parent 0e9edb0d8b
commit 2a514a1b7b
1 file changed
+1 -1
@@ -3,7 +3,7 @@
<xpath expr="//div[hasclass('page')]" position="before">
<!-- Get all lines without duplicates -->
<t t-set="dates" t-value="list(set(o.move_ids_without_package.mapped('date')))" />
<t t-set="dates" t-value="list(set([date.date() for date in o.move_ids_without_package.mapped('date')]))" />
<!-- Store if has dates -->
<t t-set="has_dates" t-value="len(dates) > 0" />
<!-- Store if has multiple dates -->