From f8ac0520177b64a92579726163f9f4a75ee987b6 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Mon, 27 Feb 2023 16:08:38 +0100 Subject: [PATCH] [IMP] rma_account: add index in account.move.line to field 'rma_line_id' --- rma_account/models/account_move.py | 1 + 1 file changed, 1 insertion(+) diff --git a/rma_account/models/account_move.py b/rma_account/models/account_move.py index 7e8e588b..cc8b16c8 100644 --- a/rma_account/models/account_move.py +++ b/rma_account/models/account_move.py @@ -218,6 +218,7 @@ class AccountMoveLine(models.Model): comodel_name="rma.order.line", string="RMA line", ondelete="set null", + index=True, help="This will contain the rma line that originated this line", )