Compare commits

..

2 Commits

Author SHA1 Message Date
Mira Weller
e9d048c5be Log automatic team creation in event create wizard 2025-02-03 17:18:15 +01:00
Raphael Michel
34da20972e Bump version to 2025.2.0.dev0 2025-01-31 16:21:06 +01:00
2 changed files with 12 additions and 1 deletions

View File

@@ -19,4 +19,4 @@
# You should have received a copy of the GNU Affero General Public License along with this program. If not, see
# <https://www.gnu.org/licenses/>.
#
__version__ = "2025.1.0"
__version__ = "2025.2.0.dev0"

View File

@@ -289,6 +289,17 @@ class EventWizard(SafeSessionWizardView):
)
t.members.add(self.request.user)
t.limit_events.add(event)
t.log_action('pretix.team.created', user=self.request.user, data={
'_created_by_event_wizard': True,
'name': t.name,
'can_change_event_settings': True,
'can_change_items': True,
'can_view_orders': True,
'can_change_orders': True,
'can_view_vouchers': True,
'can_change_vouchers': True,
'limit_events': [event.pk],
})
logdata = {}
for f in form_list: