From c1c0a8797179d110ad919912378f05b030f44f61 Mon Sep 17 00:00:00 2001 From: Yohann D'ANELLO Date: Tue, 1 Sep 2020 15:54:32 +0200 Subject: [PATCH] RecurrentTransaction has no longer a category --- management/commands/import_transaction.py | 1 - 1 file changed, 1 deletion(-) diff --git a/management/commands/import_transaction.py b/management/commands/import_transaction.py index b78f659..5c1192c 100644 --- a/management/commands/import_transaction.py +++ b/management/commands/import_transaction.py @@ -107,7 +107,6 @@ class Command(ImportCommand): def _template_transaction(self, row, obj_dict, child_dict): if self.buttons.get(row["description"]): - child_dict["category_id"] = self.buttons[row["description"]][1] child_dict["template_id"] = self.buttons[row["description"]][0] # elif self.categories.get(row["categorie"]): # child_dict["category_id"] = self.categories[row["categorie"]]