mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
don't update the modified of the item price
This commit is contained in:
@@ -501,7 +501,7 @@ class Item(WebsiteGenerator):
|
|||||||
|
|
||||||
def update_item_price(self):
|
def update_item_price(self):
|
||||||
frappe.db.sql("""update `tabItem Price` set item_name=%s,
|
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))
|
(self.item_name, self.description, self.name))
|
||||||
|
|
||||||
def on_trash(self):
|
def on_trash(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user