mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-08 15:42:52 +00:00
[partner listing] clear partners page on save
This commit is contained in:
@@ -33,6 +33,7 @@ class DocType:
|
|||||||
if self.doc.page_name:
|
if self.doc.page_name:
|
||||||
from webnotes.webutils import clear_cache
|
from webnotes.webutils import clear_cache
|
||||||
clear_cache(self.doc.page_name)
|
clear_cache(self.doc.page_name)
|
||||||
|
clear_cache("partners")
|
||||||
|
|
||||||
def get_contacts(self,nm):
|
def get_contacts(self,nm):
|
||||||
if nm:
|
if nm:
|
||||||
|
|||||||
Reference in New Issue
Block a user