summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorapa-tiny <patelamit2003@gmail.com>2008-11-05 14:52:57 +0530
committerapa-tiny <patelamit2003@gmail.com>2008-11-05 14:52:57 +0530
commit78cd1bc85024651312374483706ae8ff164e25ce (patch)
tree64ad114659a9a7419b5cbd4dc0c82cb3009b5f78
parent9000f7939651a07267570ba461eaa548dcd24d5c (diff)
remove print
bzr revid: patelamit2003@gmail.com-20081105092257-nfal73jmcwk85txf
-rwxr-xr-xaddons/account/report/account_balance.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/account/report/account_balance.py b/addons/account/report/account_balance.py
index a183758b094..98901a7780f 100755
--- a/addons/account/report/account_balance.py
+++ b/addons/account/report/account_balance.py
@@ -174,7 +174,7 @@ class account_balance(report_sxw.rml_parse):
if account.child_id:
def _check_rec(account):
if not account.child_id:
- print"(account.credit or account.debit)",bool(account.credit or account.debit)
+
return bool(account.credit or account.debit)
for c in account.child_id:
if _check_rec(c):
@@ -190,7 +190,7 @@ class account_balance(report_sxw.rml_parse):
result_acc.append(res)
else:
result_acc.append(res)
- print"account.id",account.id
+
res1 = self.moveline(form, account.id,res['level'])
if res1:
for r in res1:
@@ -206,7 +206,7 @@ class account_balance(report_sxw.rml_parse):
def moveline(self,form,ids,level):
res={}
- print"str(ids)",str(ids)
+
self.date_lst_string = '\'' + '\',\''.join(map(str,self.date_lst)) + '\''
self.cr.execute(
"SELECT l.id as lid,l.date,j.code as jname, l.ref, l.name as lname, l.debit as debit1, l.credit as credit1 " \