Browse Source

Merge pull request #32 from hbrunn/8.0-fix_res_partner_bank_search

[FIX] pass parameters we got to super
pull/35/head
Pedro M. Baeza 10 years ago
parent
commit
8098207f43
  1. 4
      account_bank_statement_import/res_partner_bank.py

4
account_bank_statement_import/res_partner_bank.py

@ -62,8 +62,8 @@ class ResPartnerBank(models.Model):
args[pos] = ('sanitized_acc_number', op, value) args[pos] = ('sanitized_acc_number', op, value)
pos += 1 pos += 1
return super(ResPartnerBank, self).search( return super(ResPartnerBank, self).search(
cr, user, args, offset=0, limit=None, order=None, context=None,
count=False)
cr, user, args, offset=offset, limit=limit, order=order,
context=context, count=count)
_sql_constraints = [ _sql_constraints = [
('unique_number', 'unique(sanitized_acc_number)', ('unique_number', 'unique(sanitized_acc_number)',

Loading…
Cancel
Save