mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
merge
This commit is contained in:
9
patches/january_2013/purchase_price_list.py
Normal file
9
patches/january_2013/purchase_price_list.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
webnotes.reload_doc("stock", "doctype", "item_price")
|
||||
|
||||
# check for selling
|
||||
webnotes.conn.sql("""update `tabItem Price` set selling=1
|
||||
where ifnull(selling, 0)=0 and ifnull(buying, 0)=0""")
|
||||
|
||||
@@ -152,4 +152,5 @@ patch_list = [
|
||||
"patches.january_2013.update_country_info",
|
||||
"patches.january_2013.remove_tds_entry_from_gl_mapper",
|
||||
"patches.january_2013.update_number_format",
|
||||
"patches.january_2013.purchase_price_list",
|
||||
]
|
||||
Reference in New Issue
Block a user