Update repost_gle_for_pos_sales_return.py

This commit is contained in:
Nabin Hait 2016-09-23 13:11:05 +05:30 committed by GitHub
parent d4321ec18b
commit 147b288d66

View File

@ -7,6 +7,7 @@ from frappe.utils import cint, flt
def execute():
frappe.reload_doctype("Sales Invoice")
frappe.reload_doctype("Sales Invoice Item")
for si in frappe.get_all("Sales Invoice", fields = ["name"],
filters={"docstatus": 1, "is_pos": 1, "is_return": 1}):