Browse Source

[FIX] No index=True needed when specifying unique constraint.

pull/19/head
Ronald Portier (Therp BV) 10 years ago
committed by Laurent Mignon (ACSONE)
parent
commit
1dcd07e893
  1. 2
      account_bank_statement_import/res_partner_bank.py

2
account_bank_statement_import/res_partner_bank.py

@ -32,7 +32,7 @@ class ResPartnerBank(models.Model):
sanitized_acc_number = fields.Char(
'Sanitized Account Number', size=64, readonly=True,
compute='_get_sanitized_account_number', store=True, index=True)
compute='_get_sanitized_account_number', store=True)
def _sanitize_account_number(self, acc_number):
if acc_number:

Loading…
Cancel
Save