2013-08-05 14:59:54 +05:30
|
|
|
# Copyright (c) 2013, Web Notes Technologies Pvt. Ltd.
|
|
|
|
# License: GNU General Public License v3. See license.txt
|
|
|
|
|
2012-07-19 13:40:31 +05:30
|
|
|
from __future__ import unicode_literals
|
2012-07-11 13:18:58 +05:30
|
|
|
def execute():
|
|
|
|
import webnotes
|
|
|
|
webnotes.conn.sql("""update tabAccount set freeze_account='No' where freeze_account is null""")
|
2012-07-12 16:01:20 +05:30
|
|
|
webnotes.conn.sql("""update `tabPurchase Taxes and Charges`
|
|
|
|
set category='Valuation and Total' where category='For Both'""")
|
|
|
|
webnotes.conn.sql("""update `tabPurchase Taxes and Charges`
|
|
|
|
set category='Valuation' where category='For Valuation'""")
|
|
|
|
webnotes.conn.sql("""update `tabPurchase Taxes and Charges`
|
|
|
|
set category='Total' where category='For Total'""")
|