[IMP] Account: declare a variable in __init__ method

bzr revid: mtr@mtr-20101122065642-mpp9eru00zptxano
This commit is contained in:
mtr 2010-11-22 12:26:42 +05:30
parent 3b08f24d34
commit b058cbe6b4
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ class third_party_ledger(report_sxw.rml_parse, common_report_header):
def __init__(self, cr, uid, name, context=None):
super(third_party_ledger, self).__init__(cr, uid, name, context=context)
self.init_bal_sum = 0.0
self.localcontext.update({
'time': time,
'lines': self.lines,