Browse Source

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

This reverts commit 1dcd07e893.
pull/31/head
Holger Brunn 10 years ago
parent
commit
8671d4658a
  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)
compute='_get_sanitized_account_number', store=True, index=True)
def _sanitize_account_number(self, acc_number):
if acc_number:

Loading…
Cancel
Save