fix: Always return document from doc.insert
This commit is contained in:
parent
497807cbbc
commit
52d6bd67e4
1 changed files with 1 additions and 1 deletions
|
|
@ -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 = []
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue