fixes after merge

This commit is contained in:
Anand Doshi
2013-01-18 13:07:02 +05:30
parent 2865571cb9
commit 8b940ee451
5 changed files with 15 additions and 14 deletions

View File

@@ -1,6 +1,8 @@
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""")