mirror of
https://github.com/OCA/bank-statement-import.git
synced 2025-01-20 12:37:43 +02:00
[FIX] No index=True needed when specifying unique constraint.
This commit is contained in:
committed by
Laurent Mignon (ACSONE)
parent
5538c234d9
commit
1dcd07e893
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user