Skip to content
Snippets Groups Projects
Commit d9bcbe8d authored by Juliana's avatar Juliana
Browse files

[UPD]Add index table cdc

parent 62ac2abf
No related branches found
No related tags found
No related merge requests found
...@@ -13,9 +13,9 @@ class AccEnedisCDC(models.Model): ...@@ -13,9 +13,9 @@ class AccEnedisCDC(models.Model):
# ------------------------------------------------------ # ------------------------------------------------------
name = fields.Char("Libellé du fichier") name = fields.Char("Libellé du fichier")
acc_operation_id = fields.Many2one( acc_operation_id = fields.Many2one(
"acc.operation", "Opération", required=True, ondelete="cascade" "acc.operation", "Opération", required=True, ondelete="cascade", index=True
) )
acc_counter_id = fields.Many2one("acc.counter", "ID PRM") acc_counter_id = fields.Many2one("acc.counter", "ID PRM", index=True)
comp_data_type = fields.Selection( comp_data_type = fields.Selection(
[ [
("autocons", "autocons"), ("autocons", "autocons"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment