updates in purchase cycle's price list

This commit is contained in:
Anand Doshi
2013-01-17 20:20:56 +05:30
parent 9d9aec1ed4
commit f8f0c0d089
17 changed files with 1190 additions and 1055 deletions

View 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""")