From a0da97d2ff5b1405067eff7e2372682e29277ab3 Mon Sep 17 00:00:00 2001 From: "sbh (Open ERP)" Date: Tue, 3 Aug 2010 10:34:18 +0530 Subject: [PATCH] [IMP] account: Remove the data argument from sxw and rml for partner_balance report bzr revid: sbh@tinyerp.com-20100803050418-zg9p0xrjdpn55pvd --- .../account/report/account_partner_balance.rml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/addons/account/report/account_partner_balance.rml b/addons/account/report/account_partner_balance.rml index 7292ccee3bc..e77f62c9fb4 100644 --- a/addons/account/report/account_partner_balance.rml +++ b/addons/account/report/account_partner_balance.rml @@ -225,7 +225,7 @@ - [[ get_partners(data) ]] + [[ get_partners() ]] [[ formatLang(time.strftime('%Y-%m-%d %H:%M:%S'), date_time = True) ]] @@ -246,21 +246,21 @@ Grand total - [[ formatLang(sum_debit(data)) ]] - [[ formatLang(sum_credit(data)) ]] - [[ formatLang((solde_debit(data)-solde_credit(data))) ]] - [[ formatLang(sum_litige(data)) ]] + [[ formatLang(sum_debit()) ]] + [[ formatLang(sum_credit()) ]] + [[ formatLang((solde_debit()-solde_credit())) ]] + [[ formatLang(sum_litige()) ]] Balance - [[ formatLang(solde_debit(data)) ]] - [[ formatLang(solde_credit(data)) ]] + [[ formatLang(solde_debit()) ]] + [[ formatLang(solde_credit()) ]] - [[ repeatIn(lines(data), 'a') ]][[ (a['type']==3 and setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]][[ a['ref'] ]] [[ a['type']==3 and a['code'] ]] + [[ repeatIn(lines(), 'a') ]][[ (a['type']==3 and setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]][[ a['ref'] ]] [[ a['type']==3 and a['code'] ]] [[ (a['type']==3 and setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]][[ a['name'] ]] [[ (a['type']==3 and setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]][[ formatLang(a['debit']) ]] [[ (a['type']==3 and setTag('para','para',{'fontName':'Helvetica-Bold'})) or removeParentNode('font') ]][[ formatLang(a['credit']) ]]