mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-30 02:14:48 +00:00
7 lines
170 B
Python
7 lines
170 B
Python
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""")
|
|
|