Browse Source

publish muk_utils - 12.0

pull/30/head
MuK IT GmbH 5 years ago
parent
commit
f393c764b3
  1. 2
      muk_utils/models/ir_attachment.py

2
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):

Loading…
Cancel
Save