mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-05 21:29:11 +00:00
[fix] [minor] update modified date and time to item price when updating item and price list
This commit is contained in:
@@ -213,7 +213,7 @@ class DocType(DocListController, WebsiteGenerator):
|
||||
|
||||
def update_item_price(self):
|
||||
webnotes.conn.sql("""update `tabItem Price` set item_name=%s,
|
||||
item_description=%s where item_code=%s""",
|
||||
item_description=%s, modified=NOW() where item_code=%s""",
|
||||
(self.doc.item_name, self.doc.description, self.doc.name))
|
||||
|
||||
def get_page_title(self):
|
||||
|
||||
Reference in New Issue
Block a user