[fix] add index on so_detail in Delivery Note Item

This commit is contained in:
Anand Doshi 2016-01-07 16:47:44 +05:30
parent 574415b59b
commit 4096603656
2 changed files with 1205 additions and 1203 deletions

View File

@ -6,6 +6,8 @@ import frappe
from erpnext.stock.stock_balance import update_bin_qty, get_reserved_qty
def execute():
frappe.reload_doctype("Sales Order Item")
repost_for = frappe.db.sql("""
select
distinct item_code, warehouse

View File

@ -1170,7 +1170,7 @@
"read_only": 1,
"report_hide": 0,
"reqd": 0,
"search_index": 0,
"search_index": 1,
"set_only_once": 0,
"unique": 0,
"width": "150px"
@ -1286,7 +1286,7 @@
"issingle": 0,
"istable": 1,
"max_attachments": 0,
"modified": "2016-01-06 02:22:36.503315",
"modified": "2016-01-07 05:59:56.448357",
"modified_by": "Administrator",
"module": "Stock",
"name": "Delivery Note Item",