mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 17:04:47 +00:00
[fix] on_update in item.py
This commit is contained in:
@@ -93,7 +93,6 @@ class Item(WebsiteGenerator):
|
|||||||
where parentfield='website_item_groups' and parenttype='Item' and parent=%s""", self.name)
|
where parentfield='website_item_groups' and parenttype='Item' and parent=%s""", self.name)
|
||||||
|
|
||||||
def on_update(self):
|
def on_update(self):
|
||||||
super(Item, self).on_update()
|
|
||||||
invalidate_cache_for_item(self)
|
invalidate_cache_for_item(self)
|
||||||
self.validate_name_with_item_group()
|
self.validate_name_with_item_group()
|
||||||
self.update_item_price()
|
self.update_item_price()
|
||||||
|
|||||||
Reference in New Issue
Block a user