From 85eb840ab43d861fcd755a5da82351c55a51d96a Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Mon, 9 Apr 2012 12:02:15 +0530 Subject: [PATCH] fix in rename dt patch --- erpnext/buying/page/buying_home/buying_home.html | 2 +- erpnext/patches/jan_mar_2012/rename_dt.py | 2 +- version.num | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/buying/page/buying_home/buying_home.html b/erpnext/buying/page/buying_home/buying_home.html index cbd347d87f9..9e05045fa05 100644 --- a/erpnext/buying/page/buying_home/buying_home.html +++ b/erpnext/buying/page/buying_home/buying_home.html @@ -4,7 +4,7 @@

Buying


-

Purchase Requisition

+

Purchase Request

Request for purchase

Purchase Order

Purchase Orders given to Suppliers

diff --git a/erpnext/patches/jan_mar_2012/rename_dt.py b/erpnext/patches/jan_mar_2012/rename_dt.py index a258f73ec5b..e591a872155 100644 --- a/erpnext/patches/jan_mar_2012/rename_dt.py +++ b/erpnext/patches/jan_mar_2012/rename_dt.py @@ -161,7 +161,7 @@ def update_dt_in_records(rendt): webnotes.conn.sql("update `tabGL Entry` set voucher_type = replace(voucher_type, '%s', '%s') where voucher_type = '%s'" % (d, rendt[d], d)) # Stock ledger entry - webnotes.conn.sql("update `tabStock ledger Entry` set voucher_type = replace(voucher_type, '%s', '%s') where voucher_type = '%s'" % (d, rendt[d], d)) + webnotes.conn.sql("update `tabStock Ledger Entry` set voucher_type = replace(voucher_type, '%s', '%s') where voucher_type = '%s'" % (d, rendt[d], d)) # Custom fld: options webnotes.conn.sql("update `tabCustom Field` set options = replace(options, %s, %s) where fieldtype in ('Link', 'Select')", (d, rendt[d])) diff --git a/version.num b/version.num index b6f9e0e3aea..f6e16be538e 100644 --- a/version.num +++ b/version.num @@ -1 +1 @@ -1495 \ No newline at end of file +1496 \ No newline at end of file