mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
updates in purchase cycle's price list
This commit is contained in:
7
patches/january_2013/purchase_price_list.py
Normal file
7
patches/january_2013/purchase_price_list.py
Normal file
@@ -0,0 +1,7 @@
|
||||
import webnotes
|
||||
|
||||
def execute():
|
||||
# check for selling
|
||||
webnotes.conn.sql("""update `tabItem Price` set selling=1
|
||||
where ifnull(selling, 0)=0 and ifnull(buying, 0)=0""")
|
||||
|
||||
Reference in New Issue
Block a user