commit | cbfe28286acc9319901aeaa2c77fa50e95c0e481 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Sep 27 16:22:59 2022 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Tue Sep 27 16:22:59 2022 +0530 |
tree | 99fb9df40745f772f3fc85479805789bb2484887 | |
parent | 1f6205e1ea569dd25ac298f10812f6e9f44409ef [diff] |
fix: Add return against indexes for POS Invoice
diff --git a/erpnext/accounts/doctype/pos_invoice/pos_invoice.py b/erpnext/accounts/doctype/pos_invoice/pos_invoice.py index a5e4d9a..9eded8a 100644 --- a/erpnext/accounts/doctype/pos_invoice/pos_invoice.py +++ b/erpnext/accounts/doctype/pos_invoice/pos_invoice.py
@@ -743,4 +743,4 @@ def on_doctype_update(): - frappe.db.add_index("POS Invoice", ["customer", "is_return", "return_against"]) + frappe.db.add_index("POS Invoice", ["return_against"])