Rename TemplateTransaction into RecurrentTransaction
This commit is contained in:
parent
be8aa44eb6
commit
2571477bb4
|
@ -18,7 +18,7 @@ from django.contrib.auth.models import User
|
|||
from note.models import Note, NoteSpecial, NoteUser, NoteClub
|
||||
from note.models import Alias
|
||||
from note.models import Transaction, TransactionTemplate,\
|
||||
TemplateCategory, TemplateTransaction, MembershipTransaction
|
||||
TemplateCategory, RecurrentTransaction, MembershipTransaction
|
||||
from member.models import Profile, Club, Membership
|
||||
|
||||
"""
|
||||
|
@ -185,7 +185,7 @@ def import_transaction(cur, map_idbde):
|
|||
if created:
|
||||
cat.save()
|
||||
obj_dict["category"] = cat
|
||||
transac = TemplateTransaction.objects.create(**obj_dict)
|
||||
transac = RecurrentTransaction.objects.create(**obj_dict)
|
||||
transac.save()
|
||||
elif row["type"] == "adhésion":
|
||||
print("adhesion not supported yet")
|
||||
|
|
Loading…
Reference in New Issue