Merge pull request #14163 from manassolanki/fix-20
[fix] don't update the modified of item price while updating item
This commit is contained in:
commit
a752eca82c
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user