don't update the modified of the item price

This commit is contained in:
Manas Solanki 2018-05-21 15:40:51 +05:30
parent 1275ea5123
commit b5d9b38dee

View File

@ -501,7 +501,7 @@ class Item(WebsiteGenerator):
def update_item_price(self):
frappe.db.sql("""update `tabItem Price` set item_name=%s,
item_description=%s, modified=NOW() where item_code=%s""",
item_description=%s where item_code=%s""",
(self.item_name, self.description, self.name))
def on_trash(self):