Merge pull request #1230 from akhileshdarjee/hotfix
[fix] [minor] update item_name and description in item price
This commit is contained in:
commit
de69ad0a48
10
patches/1312/p02_update_item_details_in_item_price.py
Normal file
10
patches/1312/p02_update_item_details_in_item_price.py
Normal file
@ -0,0 +1,10 @@
|
||||
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
|
||||
# License: GNU General Public License v3. See license.txt
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.conn.sql("""update `tabItem Price` ip INNER JOIN `tabItem` i
|
||||
ON (ip.item_code = i.name)
|
||||
set ip.item_name = i.item_name, ip.item_description = i.description""")
|
@ -262,4 +262,5 @@ patch_list = [
|
||||
"patches.1311.p07_scheduler_errors_digest",
|
||||
"patches.1311.p08_email_digest_recipients",
|
||||
"execute:webnotes.delete_doc('DocType', 'Warehouse Type')",
|
||||
"patches.1312.p02_update_item_details_in_item_price",
|
||||
]
|
Loading…
x
Reference in New Issue
Block a user