Browse Source

fix: forget return value after `run_method` execution

version-14
Sagar Vora 3 years ago
parent
commit
741ea13db2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/model/document.py

+ 1
- 1
frappe/model/document.py View File

@@ -1154,7 +1154,7 @@ class Document(BaseDocument):
for f in hooks:
add_to_return_value(self, f(self, method, *args, **kwargs))

return self._return_value
return self.__dict__.pop("_return_value", None)

return runner



Loading…
Cancel
Save