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", )