We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c0734c2 + 12cefe7 commit 87796a4Copy full SHA for 87796a4
1 file changed
sale_operating_unit/models/sale_order.py
@@ -17,6 +17,7 @@ class SaleOrder(models.Model):
17
precompute=True,
18
check_company=True,
19
compute="_compute_operating_unit_id",
20
+ index=True,
21
)
22
23
@api.depends("team_id")
@@ -89,4 +90,5 @@ class SaleOrderLine(models.Model):
89
90
related="order_id.operating_unit_id",
91
string="Operating Unit",
92
store=True,
93
94
0 commit comments