remove print

bzr revid: patelamit2003@gmail.com-20081106074211-f28x67fpnmmrglxv
This commit is contained in:
apa-tiny 2008-11-06 13:12:11 +05:30
parent 0d9dbc1df5
commit d2c3be7c9d
1 changed files with 3 additions and 4 deletions

View File

@ -184,8 +184,7 @@ class third_party_ledger(rml_parse.rml_parse):
partner_to_use = []
if data['form']['soldeinit'] :
print"self.date_lst[0]",self.date_lst[0]
print"self.date_lst[len(self.date_lst)-1]",self.date_lst[len(self.date_lst)-1]
self.cr.execute(
"SELECT DISTINCT line.partner_id " \
"FROM account_move_line AS line, account_account AS account " \
@ -214,7 +213,7 @@ class third_party_ledger(rml_parse.rml_parse):
# (data['form']['company_id']))
res = self.cr.dictfetchall()
print"=====res====",res
for res_line in res:
partner_to_use.append(res_line['partner_id'])
new_ids = partner_to_use
@ -263,7 +262,7 @@ class third_party_ledger(rml_parse.rml_parse):
"ORDER BY l.id",
(partner.id,))
res = self.cr.dictfetchall()
print":::::res::::::",res
sum = 0.0
for r in res:
sum = r['debit'] - r['credit']