From f393c764b3bd6846a46ad75ed8df02b7ddc93b56 Mon Sep 17 00:00:00 2001 From: MuK IT GmbH Date: Mon, 22 Jul 2019 08:23:19 +0000 Subject: [PATCH] publish muk_utils - 12.0 --- muk_utils/models/ir_attachment.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/muk_utils/models/ir_attachment.py b/muk_utils/models/ir_attachment.py index 7e563f0..9f7a174 100644 --- a/muk_utils/models/ir_attachment.py +++ b/muk_utils/models/ir_attachment.py @@ -102,7 +102,7 @@ class IrAttachment(models.Model): @api.multi def migrate(self, batch_size=None): - batch_size = batch_size or 5 + batch_size = batch_size or batch_size storage_location = self._storage().upper() batches = math.ceil(len(self) / batch_size) for index, attachment in enumerate(self, start=1):