mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-22 22:49:19 +00:00
Merge pull request #19959 from rohitwaghchaure/fixed_incorrect_child_bom_fecthed
fix: incorrect child boms fetched
This commit is contained in:
@@ -65,6 +65,7 @@ class BOM(WebsiteGenerator):
|
|||||||
context.parents = [{'name': 'boms', 'title': _('All BOMs') }]
|
context.parents = [{'name': 'boms', 'title': _('All BOMs') }]
|
||||||
|
|
||||||
def on_update(self):
|
def on_update(self):
|
||||||
|
frappe.cache().hdel('bom_children', self.name)
|
||||||
self.check_recursion()
|
self.check_recursion()
|
||||||
self.update_stock_qty()
|
self.update_stock_qty()
|
||||||
self.update_exploded_items()
|
self.update_exploded_items()
|
||||||
|
|||||||
Reference in New Issue
Block a user