Skip to content

Commit

Permalink
sf: add index on result_package_id
Browse files Browse the repository at this point in the history
  • Loading branch information
TDu committed Jan 16, 2024
1 parent c114af4 commit 8cd2713
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions shopfloor/models/stock_move_line.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class StockMoveLine(models.Model):
# we search lines based on their location in some workflows
location_id = fields.Many2one(index=True)
package_id = fields.Many2one(index=True)
result_package_id = fields.Many2one(index=True)

# allow domain on picking_id.xxx without too much perf penalty
picking_id = fields.Many2one(auto_join=True)
Expand Down

0 comments on commit 8cd2713

Please sign in to comment.