fix: incorrect children boms fetched

This commit is contained in:
Rohit Waghchaure 2019-12-16 16:18:33 +05:30
parent 60592e9d43
commit 197a99ee35

View File

@ -65,6 +65,7 @@ class BOM(WebsiteGenerator):
context.parents = [{'name': 'boms', 'title': _('All BOMs') }]
def on_update(self):
frappe.cache().hdel('bom_children', self.name)
self.check_recursion()
self.update_stock_qty()
self.update_exploded_items()