mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-15 03:01:22 +00:00
added workflow help, fixed button primary action in form and refactored permissions
This commit is contained in:
@@ -10,4 +10,8 @@ class DocType:
|
||||
def on_update(self):
|
||||
"""clear web cache"""
|
||||
from website.utils import clear_cache
|
||||
clear_cache()
|
||||
clear_cache()
|
||||
|
||||
if self.doc.default_product_category:
|
||||
webnotes.model_wrapper("Item Group",
|
||||
self.doc.default_product_category).save()
|
||||
Reference in New Issue
Block a user