error fixed in patch

This commit is contained in:
Nabin Hait 2012-02-13 15:38:15 +05:30
parent 42852a88dc
commit e63ea67b54

View File

@ -2,10 +2,10 @@ def execute():
import webnotes
webnotes.conn.sql("""update `tabAccount`
set account_type = 'Chargeable'
where name in ('CENVAT Capital Goods', 'CENVAT Service Tax', 'CENVAT Service Tax Cess 1', 'CENVAT Service Tax Cess 2')
where account_name in ('CENVAT Capital Goods', 'CENVAT Service Tax', 'CENVAT Service Tax Cess 1', 'CENVAT Service Tax Cess 2')
""")
webnotes.conn.sql("""update tabAccount
set account_type = 'Tax'
where name in ('P L A', 'P L A - Cess Portion', 'VAT', 'TDS (Advertisement)', 'TDS (Commission)',
where account_name in ('P L A', 'P L A - Cess Portion', 'VAT', 'TDS (Advertisement)', 'TDS (Commission)',
'TDS (Contractor)', 'TDS (Interest)', 'TDS (Rent)', 'TDS (Salary)')
""")