Fix d'un bug possible quand on créé un groupe dupliqué
This commit is contained in:
parent
252fb8c27b
commit
1fc1fc13e1
@ -1370,9 +1370,10 @@ class Event(models.Model):
|
|||||||
# otherwise merge existing groups
|
# otherwise merge existing groups
|
||||||
group = DuplicatedEvents.merge_groups(groups)
|
group = DuplicatedEvents.merge_groups(groups)
|
||||||
|
|
||||||
|
group.save()
|
||||||
|
|
||||||
if force_non_fixed:
|
if force_non_fixed:
|
||||||
group.representative = None
|
group.representative = None
|
||||||
group.save()
|
|
||||||
|
|
||||||
# set the possibly duplicated group for the current object
|
# set the possibly duplicated group for the current object
|
||||||
self.other_versions = group
|
self.other_versions = group
|
||||||
|
Loading…
Reference in New Issue
Block a user