Don't register the create event to the instance
Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
@@ -57,9 +57,7 @@ class LinkingApp(MayanAppConfig):
|
||||
SmartLinkCondition = self.get_model(model_name='SmartLinkCondition')
|
||||
|
||||
ModelEventType.register(
|
||||
event_types=(
|
||||
event_smart_link_created, event_smart_link_edited
|
||||
), model=SmartLink
|
||||
event_types=(event_smart_link_edited,), model=SmartLink
|
||||
)
|
||||
|
||||
ModelPermission.register(
|
||||
|
||||
Reference in New Issue
Block a user