From ae45655ef318fadd3bcac044d0aed943cd95a662 Mon Sep 17 00:00:00 2001 From: "Sbh (Openerp)" Date: Mon, 25 Jun 2012 18:51:14 +0530 Subject: [PATCH] [MERGE] changes for string bzr revid: sbh@tinyerp.com-20120625132114-t1pkogn3r1od75lm --- addons/account/account.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index 9f71c2a9854..91615b364c3 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -295,7 +295,7 @@ class account_account(osv.osv): if aml_query.strip(): wheres.append(aml_query.strip()) filters = " AND ".join(wheres) - _logger.debug('Filters: %s'%filters) + _logger.debug('Filters: %s',(filters)) # IN might not work ideally in case there are too many # children_and_consolidated, in that case join on a # values() e.g.: @@ -311,7 +311,7 @@ class account_account(osv.osv): " GROUP BY l.account_id") params = (tuple(children_and_consolidated),) + query_params cr.execute(request, params) - _logger.debug('Status: %s'%cr.statusmessage) + _logger.debug('Status: %s',(cr.statusmessage)) for res in cr.dictfetchall(): accounts[res['id']] = res