fix in rename dt patch

This commit is contained in:
Anand Doshi 2012-04-09 12:02:15 +05:30
parent 82042f1cff
commit 85eb840ab4
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
<h1>Buying</h1>
<hr>
<div style="width: 48%; float: left;">
<h4><a href="#!List/Purchase Requisition">Purchase Requisition</a></h4>
<h4><a href="#!List/Purchase Request">Purchase Request</a></h4>
<p class="help">Request for purchase</p>
<h4><a href="#!List/Purchase Order">Purchase Order</a></h4>
<p class="help">Purchase Orders given to Suppliers</p>

View File

@ -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]))

View File

@ -1 +1 @@
1495
1496