[MERGE] changes for string

bzr revid: sbh@tinyerp.com-20120625132114-t1pkogn3r1od75lm
This commit is contained in:
Sbh (Openerp)
2012-06-25 18:51:14 +05:30
parent ed3f7fb030
commit ae45655ef3
+2 -2
View File
@@ -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