mirror of
				https://gitlab.crans.org/bde/nk20-scripts
				synced 2025-10-30 22:59:52 +01:00 
			
		
		
		
	Rename TemplateTransaction into RecurrentTransaction
This commit is contained in:
		| @@ -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") | ||||
|   | ||||
		Reference in New Issue
	
	Block a user