mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-06 05:39:12 +00:00
[fixes] buying/selling price lists, communication and website settings
This commit is contained in:
@@ -4,6 +4,6 @@ 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""")
|
||||
webnotes.conn.sql("""update `tabItem Price` set buying_or_selling = "Selling"
|
||||
where ifnull(buying_or_selling, '')=''""")
|
||||
|
||||
Reference in New Issue
Block a user