mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-21 14:09:19 +00:00
Update repost_gle_for_pos_sales_return.py
This commit is contained in:
@@ -7,6 +7,7 @@ from frappe.utils import cint, flt
|
|||||||
|
|
||||||
def execute():
|
def execute():
|
||||||
frappe.reload_doctype("Sales Invoice")
|
frappe.reload_doctype("Sales Invoice")
|
||||||
|
frappe.reload_doctype("Sales Invoice Item")
|
||||||
|
|
||||||
for si in frappe.get_all("Sales Invoice", fields = ["name"],
|
for si in frappe.get_all("Sales Invoice", fields = ["name"],
|
||||||
filters={"docstatus": 1, "is_pos": 1, "is_return": 1}):
|
filters={"docstatus": 1, "is_pos": 1, "is_return": 1}):
|
||||||
|
|||||||
Reference in New Issue
Block a user