[FIX] Account : Partner ledger wizard issue corrected
authorGPA(OpenERP) <>
Mon, 15 Mar 2010 09:48:19 +0000 (15:18 +0530)
committerJay (Open ERP) <jvo@tinyerp.com>
Mon, 15 Mar 2010 09:48:19 +0000 (15:18 +0530)
lp bug: https://launchpad.net/bugs/537491 fixed

bzr revid: jvo@tinyerp.com-20100315094819-017k2wgl0kqlny9w

addons/account/wizard/wizard_third_party_ledger.py

index c89f87f..6bf415d 100755 (executable)
@@ -114,7 +114,7 @@ class wizard_report(wizard.interface):
 
         sql = """
             SELECT f.id, f.date_start, f.date_stop FROM account_fiscalyear f  Where %s between f.date_start and f.date_stop """
-        cr.execute(sql,(data['form']['date1']))
+        cr.execute(sql,(data['form']['date1'],))
         res = cr.dictfetchall()
         if res:
             if (data['form']['date2'] > res[0]['date_stop'] or data['form']['date2'] < res[0]['date_start']):