This commit is contained in:
Rushabh Mehta
2013-01-21 10:23:21 +05:30
39 changed files with 1911 additions and 1762 deletions

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