mirror of
https://github.com/pretix/pretix.git
synced 2026-05-14 16:44:06 +00:00
Store information about objects transferred in last successful sync
This commit is contained in:
@@ -426,7 +426,7 @@ def translate_property_mappings(property_mapping, checkin_list_map):
|
||||
|
||||
for mapping in mappings:
|
||||
if mapping["pretix_field"].startswith("checkin_date_"):
|
||||
old_id = int(mapping["pretix_field"][len("checkin_date_") :])
|
||||
old_id = int(mapping["pretix_field"][len("checkin_date_"):])
|
||||
mapping["pretix_field"] = "checkin_date_%d" % checkin_list_map[old_id].pk
|
||||
return json.dumps(mappings)
|
||||
|
||||
@@ -437,6 +437,7 @@ def get_enum_opts(q):
|
||||
else:
|
||||
return None
|
||||
|
||||
|
||||
QUESTION_TYPE_IDENTIFIERS = {
|
||||
Question.TYPE_NUMBER: "NUMBER",
|
||||
Question.TYPE_STRING: "STRING",
|
||||
|
||||
Reference in New Issue
Block a user