W0621(redefined-outer-name)
parent
0718a96cee
commit
ab8e8b8193
|
@ -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…
Reference in New Issue