commit | 063e86a1bf7a9d2b9a6643a7840f52abd3a58786 | [log] [tgz] |
---|---|---|
author | Rushabh Mehta <rmehta@gmail.com> | Fri Jan 27 16:16:08 2017 +0530 |
committer | Rushabh Mehta <rmehta@gmail.com> | Fri Jan 27 16:16:08 2017 +0530 |
tree | 882390c2e54495e80f2b7f13e52d3958f85aebbd | |
parent | 73bf1bc4b05270b591fcc0ec25acf85b7f3a2e94 [diff] |
[fix] remove on_update in Item
diff --git a/erpnext/stock/doctype/item/item.py b/erpnext/stock/doctype/item/item.py index b721029..53faa43 100644 --- a/erpnext/stock/doctype/item/item.py +++ b/erpnext/stock/doctype/item/item.py
@@ -93,7 +93,6 @@ 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()