added workflow help, fixed button primary action in form and refactored permissions

This commit is contained in:
Rushabh Mehta
2013-01-04 14:03:36 +05:30
parent a40a381d08
commit cd7a02c489
3 changed files with 6 additions and 10 deletions

View File

@@ -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()