[fix] remove on_update in Item

This commit is contained in:
Rushabh Mehta 2017-01-27 16:16:08 +05:30
parent 73bf1bc4b0
commit 063e86a1bf

View File

@ -93,7 +93,6 @@ class Item(WebsiteGenerator):
where parentfield='website_item_groups' and parenttype='Item' and parent=%s""", self.name)
def on_update(self):
super(Item, self).on_update()
invalidate_cache_for_item(self)
self.validate_name_with_item_group()
self.update_item_price()