feat: clear document cache on validate
This commit is contained in:
parent
bba2726333
commit
d0437cfb59
@ -17,6 +17,7 @@ class ProductsSettings(Document):
|
|||||||
|
|
||||||
self.validate_field_filters()
|
self.validate_field_filters()
|
||||||
self.validate_attribute_filters()
|
self.validate_attribute_filters()
|
||||||
|
frappe.clear_document_cache("Product Settings")
|
||||||
|
|
||||||
def validate_field_filters(self):
|
def validate_field_filters(self):
|
||||||
if not (self.enable_field_filters and self.filter_fields): return
|
if not (self.enable_field_filters and self.filter_fields): return
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user