diff --git a/doc/development/api/datasync.rst b/doc/development/api/datasync.rst index 3b89d40ccf..97473b7a7e 100644 --- a/doc/development/api/datasync.rst +++ b/doc/development/api/datasync.rst @@ -188,3 +188,12 @@ A simple JSON-serialized ``property_mappings`` list for mapping some order infor "overwrite": "overwrite", } ] + + +Translating mappings on Event copy +---------------------------------- + +Property mappings can contain references to event-specific primary keys. Therefore, plugins must register to the +event_copy_data signal and call translate_property_mappings on all property mappings they store. + +.. autofunction:: pretix.base.datasync.utils.translate_property_mappings