Browse Source

W0621(redefined-outer-name)

pull/29/head
Guewen Baconnier 10 years ago
parent
commit
ab8e8b8193
  1. 4
      account_financial_report_webkit/wizard/balance_common.py

4
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):

Loading…
Cancel
Save