mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
Accounts Payable report improved: some query written outside the for-loop
Supplier: supplier_status field has been deleted, not used by anyone except janak index patch modified
This commit is contained in:
@@ -102,7 +102,7 @@ def create_proper_index():
|
||||
'File Group': ['parent_group'],
|
||||
'Maintenance Visit Detail': ['item_code', 'service_person'],
|
||||
'Support Ticket Response': [],
|
||||
'PV Detail': ['item_code', 'purchase_order', 'po_detail', 'purchase_receipt', 'pr_detail', 'expense_head', 'cost_center'],
|
||||
'PV Detail': ['item_code', 'purchase_order', 'purchase_receipt', 'expense_head', 'cost_center'],
|
||||
'Timesheet Detail': ['project_name', 'task_id', 'customer_name'],
|
||||
'Holiday List Detail': [],
|
||||
'Workflow Rule Detail': [],
|
||||
@@ -125,7 +125,7 @@ def create_proper_index():
|
||||
'Declaration Detail': [],
|
||||
'Holiday List': ['fiscal_year'],
|
||||
'Sales Person': ['lft', 'rgt', 'parent_sales_person'],
|
||||
'RV Detail': ['item_code', 'sales_order', 'so_detail', 'delivery_note', 'dn_detail', 'cost_center', 'income_account'],
|
||||
'RV Detail': ['item_code', 'sales_order', 'delivery_note', 'cost_center', 'income_account'],
|
||||
'Module Def Item': [],
|
||||
'TDS Category': [],
|
||||
'DocTrigger': [],
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
# REMEMBER to update this
|
||||
# ========================
|
||||
|
||||
last_patch = 326
|
||||
last_patch = 327
|
||||
|
||||
#-------------------------------------------
|
||||
|
||||
@@ -1298,3 +1298,6 @@ def execute(patch_no):
|
||||
# load the new billing page
|
||||
if cint(webnotes.conn.get_value('Control Panel',None,'sync_with_gateway')):
|
||||
reload_doc('server_tools','page','billing')
|
||||
elif patch_no == 327:
|
||||
if webnotes.conn.get_value('Control Panel', None, 'account_id') != 'axjanak2011':
|
||||
sql("delete from `tabDocField` where fieldname = 'supplier_status' and parent = 'Supplier'")
|
||||
|
||||
Reference in New Issue
Block a user