Skip to content

Commit 739dc60

Browse files
committed
Merge PR #839 into 17.0
Signed-off-by AaronHForgeFlow
2 parents b309481 + 12cefe7 commit 739dc60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sale_operating_unit/models/sale_order.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ class SaleOrder(models.Model):
1717
precompute=True,
1818
check_company=True,
1919
compute="_compute_operating_unit_id",
20+
index=True,
2021
)
2122

2223
@api.depends("team_id")
@@ -89,4 +90,5 @@ class SaleOrderLine(models.Model):
8990
related="order_id.operating_unit_id",
9091
string="Operating Unit",
9192
store=True,
93+
index=True,
9294
)

0 commit comments

Comments
 (0)