fix: Add return against indexes for POS Invoice

This commit is contained in:
Deepesh Garg 2022-09-27 16:22:59 +05:30
parent 1f6205e1ea
commit cbfe28286a

View File

@ -743,4 +743,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"])