Skip to content
GitLab
Explore
Sign in
Commits on Source (1)
RecurrentTransaction has no longer a category
· c1c0a879
ynerant
authored
Sep 01, 2020
c1c0a879
Hide whitespace changes
Inline
Side-by-side
management/commands/import_transaction.py
View file @
c1c0a879
...
...
@@ -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"]]
...
...