Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
6ad005f636
@ -4,7 +4,7 @@ def execute():
|
|||||||
|
|
||||||
sc_obj = get_obj("Sales Common")
|
sc_obj = get_obj("Sales Common")
|
||||||
|
|
||||||
si = webnotes.conn.sql("""select si.name
|
si = webnotes.conn.sql("""select distinct si.name
|
||||||
from `tabSales Invoice` si, `tabSales Invoice Item` si_item
|
from `tabSales Invoice` si, `tabSales Invoice Item` si_item
|
||||||
where si_item.parent = si.name
|
where si_item.parent = si.name
|
||||||
and si.docstatus = 1
|
and si.docstatus = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user