This website works better with JavaScript.
Home
Explore
Help
Sign In
anoopmb
/
frappe
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Fixed clear cache bug in defaults.py
version-14
Anand Doshi
11 years ago
parent
1f0c1c8e43
commit
94c27d1440
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
frappe/defaults.py
+ 1
- 1
frappe/defaults.py
View File
@@ -158,7 +158,7 @@ def _clear_cache(parent):
if parent in common_keys:
frappe.clear_cache()
else:
frappe.clear_cache(user=
frappe.session.user
)
frappe.clear_cache(user=
parent
)
def clear_cache(user=None):
to_clear = []
Write
Preview
Loading…
Cancel
Save