[IMP] Add index on attachment_queue

pull/2661/head
Florian da Costa 2023-06-26 15:48:36 +02:00
parent 462a3db5d6
commit ecd7a293e7
1 changed files with 2 additions and 0 deletions

View File

@ -30,6 +30,7 @@ class AttachmentQueue(models.Model):
)
file_type = fields.Selection(
selection=[],
index="btree",
help="The file type determines an import method to be used "
"to parse and transform data before their import in ERP or an export",
)
@ -39,6 +40,7 @@ class AttachmentQueue(models.Model):
readonly=False,
required=True,
default="pending",
index="btree",
)
state_message = fields.Text()
failure_emails = fields.Char(