mirror of
https://github.com/ForgeFlow/stock-rma.git
synced 2025-01-21 12:57:49 +02:00
[IMP] rma : add index on stock_move.rma_line_id
This commit is contained in:
committed by
Aaron ForgeFlow
parent
2e9bf62646
commit
2af11be8b7
@@ -8,7 +8,7 @@ class StockMove(models.Model):
|
||||
_inherit = "stock.move"
|
||||
|
||||
rma_line_id = fields.Many2one(
|
||||
"rma.order.line", string="RMA line", ondelete="restrict"
|
||||
"rma.order.line", string="RMA line", ondelete="restrict", index="btree_not_null"
|
||||
)
|
||||
|
||||
@api.model_create_multi
|
||||
|
||||
Reference in New Issue
Block a user