fix: Add return against indexes for POS Invoice

(cherry picked from commit cbfe28286a)
This commit is contained in:
Deepesh Garg
2022-09-27 16:22:59 +05:30
committed by Mergify
parent 6c528d469d
commit 9e8e7aab70

View File

@@ -747,4 +747,4 @@ def add_return_modes(doc, pos_profile):
def on_doctype_update():
frappe.db.add_index("POS Invoice", ["customer", "is_return", "return_against"])
frappe.db.add_index("POS Invoice", ["return_against"])