mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 18:59:08 +00:00
mass replace sql with webnotes.conn.sql
This commit is contained in:
@@ -60,7 +60,7 @@ class DocType:
|
||||
self.doc.save()
|
||||
|
||||
def get_first_sle(self):
|
||||
sle = sql("""
|
||||
sle = webnotes.conn.sql("""
|
||||
select * from `tabStock Ledger Entry`
|
||||
where item_code = %s
|
||||
and warehouse = %s
|
||||
|
||||
Reference in New Issue
Block a user