diff --git a/trytond/ir/queue.py b/trytond/ir/queue.py index 36c60be618..8438806228 100644 --- a/trytond/ir/queue.py +++ b/trytond/ir/queue.py @@ -211,7 +211,7 @@ class _Method(object): def __call__(self, instances, *args, **kwargs): transaction = Transaction() - context = transaction.context + context = transaction.context.copy() name = context.pop('queue_name', 'default') now = datetime.datetime.now() scheduled_at = context.pop('queue_scheduled_at', None)