diff --git a/addons/account_balance/report/account_balance.py b/addons/account_balance/report/account_balance.py index 85a548461f8..1bfc55034b6 100644 --- a/addons/account_balance/report/account_balance.py +++ b/addons/account_balance/report/account_balance.py @@ -396,7 +396,7 @@ class account_balance(report_sxw.rml_parse): ctx['fiscalyear'] = id ctx['periods'] = form['periods'][0][2] - ctx['period_manner']=form['select_periods'] + ctx['period_manner']=form['period_manner'] tmp = self.pool.get('account.account').browse(self.cr, self.uid, ids, ctx.copy()) if len(tmp): @@ -454,7 +454,7 @@ class account_balance(report_sxw.rml_parse): ctx['fiscalyear'] = id ctx['periods'] = form['periods'][0][2] - ctx['period_manner']=form['select_periods'] + ctx['period_manner']=form['period_manner'] tmp1 = self.pool.get('account.account').browse(self.cr, self.uid, ids,ctx.copy()) diff --git a/addons/account_balance/wizard/wizard_account_balance_report.py b/addons/account_balance/wizard/wizard_account_balance_report.py index 1e6a88db9bc..58e855d3717 100644 --- a/addons/account_balance/wizard/wizard_account_balance_report.py +++ b/addons/account_balance/wizard/wizard_account_balance_report.py @@ -55,7 +55,7 @@ dates_form = ''' - + @@ -70,18 +70,18 @@ dates_fields = { 'landscape': {'string': 'Show Report in Landscape Form', 'type': 'boolean'}, 'format_perc': {'string': 'Show Comparision in %', 'type': 'boolean'}, 'compare_pattern':{'string':"Compare Selected Years In Terms Of",'type':'selection','selection':[('bal_cash','Cash'),('bal_perc','Percentage'),('none','Don'+ "'" +'t Compare')]}, - 'select_periods':{'string':"Select Invoices Based on Their",'type':'selection','selection':[('actual','Actual Period (Duration)'),('created','Creation Date')]}, + 'period_manner':{'string':"Entries Selection Based on",'type':'selection','selection':[('actual','Financial Period'),('created','Creation Date')]}, 'periods': {'string': 'Periods', 'type': 'many2many', 'relation': 'account.period', 'help': 'All periods if empty'} } back_form='''
- + - -