sign modellen uitsluiten geven errors en per 5000 actie werkt snel

This commit is contained in:
root
2026-07-15 05:15:42 +00:00
parent 1983913340
commit fe6b724bb5
2 changed files with 2 additions and 1 deletions

View File

@@ -173,6 +173,7 @@ class IrLogging(models.Model):
WHERE type = 'binary'
AND res_field IS NULL
AND store_fname IS NOT NULL
AND res_model not in ('sign.document','sign.request')
ORDER BY COALESCE(file_size, 0) DESC, id ASC
LIMIT %s
""",