Fix bug when create registers for each tax identifier.

This commit is contained in:
Bernat Brunet 2020-11-30 10:14:57 +01:00
parent 8f86b41943
commit 19d58471c0

View file

@ -330,8 +330,7 @@ class Report(Workflow, ModelSQL, ModelView):
aeat_347_record as r
WHERE
r.fiscalyear = %s AND
r.tax_identifier is not null AND
r.tax_identifier = 'ESA08130502'
r.tax_identifier is not null
GROUP BY
r.tax_identifier, r.operation_key
HAVING