9 lines
235 B
Python
9 lines
235 B
Python
import webnotes
|
|
|
|
def execute():
|
|
webnotes.reload_doc("stock", "doctype", "item_price")
|
|
|
|
# check for selling
|
|
webnotes.conn.sql("""update `tabItem Price` set buying_or_selling = "Selling"
|
|
where ifnull(buying_or_selling, '')=''""")
|
|
|