mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 11:19:09 +00:00
fix in rename dt patch
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<h1>Buying</h1>
|
<h1>Buying</h1>
|
||||||
<hr>
|
<hr>
|
||||||
<div style="width: 48%; float: left;">
|
<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>
|
<p class="help">Request for purchase</p>
|
||||||
<h4><a href="#!List/Purchase Order">Purchase Order</a></h4>
|
<h4><a href="#!List/Purchase Order">Purchase Order</a></h4>
|
||||||
<p class="help">Purchase Orders given to Suppliers</p>
|
<p class="help">Purchase Orders given to Suppliers</p>
|
||||||
|
|||||||
@@ -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))
|
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
|
# 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
|
# Custom fld: options
|
||||||
webnotes.conn.sql("update `tabCustom Field` set options = replace(options, %s, %s) where fieldtype in ('Link', 'Select')", (d, rendt[d]))
|
webnotes.conn.sql("update `tabCustom Field` set options = replace(options, %s, %s) where fieldtype in ('Link', 'Select')", (d, rendt[d]))
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
1495
|
1496
|
||||||
Reference in New Issue
Block a user