diff --git a/frappe/model/document.py b/frappe/model/document.py index bbf05a7fed..410d889e58 100644 --- a/frappe/model/document.py +++ b/frappe/model/document.py @@ -260,7 +260,7 @@ class Document(BaseDocument): :param set_child_names: Whether to set names for the child documents. """ if self.flags.in_print: - return + return self self.flags.notifications_executed = []