W0621(redefined-outer-name)

pull/29/head
Guewen Baconnier 2014-11-19 15:22:29 +01:00
parent 0718a96cee
commit ab8e8b8193
1 changed files with 2 additions and 2 deletions

View File

@ -131,7 +131,7 @@ class AccountBalanceCommonWizard(orm.TransientModel):
periods or by date.', ['filter']), 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. To get default values for the object.
@ -145,7 +145,7 @@ class AccountBalanceCommonWizard(orm.TransientModel):
""" """
res = super(AccountBalanceCommonWizard, self).default_get( res = super(AccountBalanceCommonWizard, self).default_get(
cr, uid, fields, context=context) cr, uid, fields_list, context=context)
for index in range(self.COMPARISON_LEVEL): for index in range(self.COMPARISON_LEVEL):
field = "comp%s_filter" % (index,) field = "comp%s_filter" % (index,)
if not res.get(field, False): if not res.get(field, False):