diff --git a/legacy/migration.py b/legacy/migration.py index 1b78c0527..5783fdfa2 100644 --- a/legacy/migration.py +++ b/legacy/migration.py @@ -474,7 +474,8 @@ def make_with_log(model, _quantity=None, make_m2m=False, **attrs): descricao = 'Essa entrada é necessária para um dos stubs criados' ' anteriormente' warn(problema) - save_relation(stub, problema, descricao, eh_stub=True) + save_relation(obj=stub, problema=problema, + descricao=descricao, eh_stub=True) return stub make_with_log.required = foreign_key_required