fix: Add return against indexes for POS Invoice
(cherry picked from commit cbfe28286a)
This commit is contained in:
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user