From ab8e8b81930c79b02d0deed3c34dc0eb3cd00fed Mon Sep 17 00:00:00 2001 From: Guewen Baconnier Date: Wed, 19 Nov 2014 15:22:29 +0100 Subject: [PATCH] W0621(redefined-outer-name) --- account_financial_report_webkit/wizard/balance_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/account_financial_report_webkit/wizard/balance_common.py b/account_financial_report_webkit/wizard/balance_common.py index 180a4617..b00d2cc1 100644 --- a/account_financial_report_webkit/wizard/balance_common.py +++ b/account_financial_report_webkit/wizard/balance_common.py @@ -131,7 +131,7 @@ class AccountBalanceCommonWizard(orm.TransientModel): periods or by date.', ['filter']), ] - def default_get(self, cr, uid, fields, context=None): + def default_get(self, cr, uid, fields_list, context=None): """ To get default values for the object. @@ -145,7 +145,7 @@ class AccountBalanceCommonWizard(orm.TransientModel): """ res = super(AccountBalanceCommonWizard, self).default_get( - cr, uid, fields, context=context) + cr, uid, fields_list, context=context) for index in range(self.COMPARISON_LEVEL): field = "comp%s_filter" % (index,) if not res.get(field, False):